]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use simplest form for flushing the single cacheline in the HWS
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 9 Apr 2016 09:57:56 +0000 (10:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 9 Apr 2016 11:09:45 +0000 (12:09 +0100)
commite9ebc4c7af50101800bed78da822a2c171e9a6e5
treef31c16fbb3c4578c50af6c3a3d95519f1a3d12cc
parent337b3666bc4d0849aff2f2b2535c5001e18c3df0
drm/i915: Use simplest form for flushing the single cacheline in the HWS

Rather than call a function to compute the matching cachelines and
clflush them, just call the clflush *instruction* directly. We also know
that we can use the unpatched plain clflush rather than the clflushopt
alternative.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460195877-20520-4-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.h