]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fixup intel_write_status_page() for old CPUs without clflush
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Mar 2017 16:35:38 +0000 (16:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Mar 2017 11:57:36 +0000 (12:57 +0100)
commit0fba2f0961de282835c7d53d238b967c0e1b753d
treee34154829b8200e36d77b58b099511613fe73748
parentf45a3afc1c6a74fa9ba8276cedd4e0f00dd9e114
drm/i915: Fixup intel_write_status_page() for old CPUs without clflush

Not all of our target platforms have clflush. For those without, just
assume the status page is sufficiently coherent that we do not need our
paranoia.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Fixes: c3b16ce19cb6 ("drm/i915: Replace irq_seqno_barrier on hws write with a clflush")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170324163540.31981-1-chris@chris-wilson.co.uk
Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.h