drm/i915/selftests: Take rpm wakeref around partial tiling tests
authorChris Wilson <[email protected]>
Tue, 7 Nov 2017 11:56:53 +0000 (11:56 +0000)
committerChris Wilson <[email protected]>
Tue, 7 Nov 2017 17:50:34 +0000 (17:50 +0000)
commit693b1ccabe43d96a1eb57716ac032632882de20f
treec8a257639ffccda1b159554274e19a5da48945e9
parentc29ccb9f426e6e4e91c9901bb6ee8dbe6abc48eb
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 <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Matthew Auld <[email protected]>
drivers/gpu/drm/i915/selftests/i915_gem_object.c