OSDN Git Service

drm/i915: Convert unconditional clflush to drm_clflush_virt_range()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Oct 2021 09:09:39 +0000 (12:09 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Oct 2021 09:44:57 +0000 (12:44 +0300)
commitaf7b6d234eefa30c461cc16912bafb32b9e6141c
tree495a1e7408993c73d39651df2a331bacd95dc61d
parentef7ec41f17cbc0861891ccc0634d06a0c8dcbf09
drm/i915: Convert unconditional clflush to drm_clflush_virt_range()

This one is apparently a "clflush for good measure", so bit more
justification (if you can call it that) than some of the others.
Convert to drm_clflush_virt_range() again so that machines without
clflush will survive the ordeal.

Cc: stable@vger.kernel.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Thomas Hellström <thomas.hellstrom@intel.com> #v1
Fixes: 12ca695d2c1e ("drm/i915: Do not share hwsp across contexts any more, v8.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211014090941.12159-3-ville.syrjala@linux.intel.com
Reviewed-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/gt/intel_timeline.c