diff options
author | Ville Syrjälä <[email protected]> | 2021-10-14 12:09:40 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2021-10-26 10:40:09 +0300 |
commit | 9761ffb8f1090289b908590039e2c363cc35cf45 (patch) | |
tree | bbb789576753ab852b1062eb6e11ffd9cc4bce8f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | fcf918ffd3b35e288097036c04af7446b2c6f2f1 (diff) |
drm/i915: Catch yet another unconditioal clflush
Replace the unconditional clflush() with drm_clflush_virt_range()
which does the wbinvd() fallback when clflush is not available.
This time no justification is given for the clflush in the
offending commit.
Cc: [email protected]
Cc: Maarten Lankhorst <[email protected]>
Cc: Thomas Hellström <[email protected]>
Fixes: 2c8ab3339e39 ("drm/i915: Pin timeline map after first timeline pin, v4.")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Dave Airlie <[email protected]>
(cherry picked from commit 9ced12182d0d8401d821e9602e56e276459900fc)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions