]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Flush the CSB pointer reset
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Apr 2019 11:01:59 +0000 (12:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Apr 2019 13:32:11 +0000 (14:32 +0100)
commit8852ec1898c6b8d0d26eadc3d45d44dd219a4372
treedaccee7c594adfa127cc317b070918c7e0eaacb1
parent0a98e657403d17ae00a2e5c6a55ef9fcd6a05f44
drm/i915: Flush the CSB pointer reset

The HW resets it CSB tail pointer on resetting the engine. Most of the
time. In case it doesn't (and for system resume) we write the expected
value anyway. For extra paranoia, flush the write before we invalidate
the cacheline.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190412110159.10495-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c