]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: verify_gt_engine_wa() needs rpm wakeref
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 6 Dec 2018 18:07:12 +0000 (18:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 6 Dec 2018 20:45:09 +0000 (20:45 +0000)
commitf247c39c793919d29179fc5a52de7c1e4827af0b
tree90291520d77d212472c78d281bc4c64a9bceb9f5
parent7a807b48c14e5643bef6d95f023179ab058e1ef8
drm/i915/selftests: verify_gt_engine_wa() needs rpm wakeref

The mmio readback for verify_gt_engine_wa() also needs a runtime-pm
wakeref, so effectively do the entirety of both engine workarounds
tests. As such simplify the rpm behaviour here by acquiring the wakeref
for the whole of each subtest. It would be still useful to later verify
the registers retain their magic values across rpm suspend/resume.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181206180713.6827-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_workarounds.c