]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Take rpm wakeref around partial tiling tests
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Nov 2017 11:56:53 +0000 (11:56 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Nov 2017 17:50:34 +0000 (17:50 +0000)
commitacedfd6882df10b2cb77b0154c9888481b20e35c
treec8a257639ffccda1b159554274e19a5da48945e9
parente7f2bf19a996adf4c048f204e6eb29a28b36a664
drm/i915/selftests: Take rpm wakeref around partial tiling tests

Since the partial tiling tests are poking into the GGTT to watch the
fence registers in operation, it itself needs the device rpm wakeref in
order for the GGTT to remain accessible.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171107115653.10716-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/selftests/i915_gem_object.c