]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Ignore forcewake acquisition for posting_reads
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2019 15:52:25 +0000 (16:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 13:42:38 +0000 (14:42 +0100)
commit65fe51bf60d2d7c903a17ae0a485f3ea06b967b3
tree9b4d2a327fbd32c74a5455deeecf375a1e91b93e
parentbb4462ed2afe2f3d9da8a66c6bf44e89619ae720
drm/i915/gt: Ignore forcewake acquisition for posting_reads

We don't care about the result of the read, so it may be garbage, we
only care that the mmio is flushed. As such, we can forgo using an
individual forcewake and lock around any posting-read for an engine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703155225.9501-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine.h