]> 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)
commit00eb2a680e0d4a108fe7f9233b541f40614a4ddc
tree90291520d77d212472c78d281bc4c64a9bceb9f5
parent551103400cd95312f44eaf1e8e6291681839336a
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