]> 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)
commit0d317ce99e226a338fe0962e711795c6a8ed2cb2
treef31c16fbb3c4578c50af6c3a3d95519f1a3d12cc
parent12471ba87a08bd1dd0aac18015d7782e02ea02de
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