drm/i915/selftests: Attach a stub pm_domain
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Jul 2017 17:30:28 +0000 (18:30 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jul 2017 12:19:51 +0000 (13:19 +0100)
commit1a0c19248a2f692af352f8b4b3e9b7f8a43bfd52
tree6c6e146f0c2844bad2177eb65335478431d3d731
parent3b19f16a556446c144a1f921444931b0cf9447ab
drm/i915/selftests: Attach a stub pm_domain

Supply a pm_domain and its ops for our mock GEM device so that
device runtime pm doesn't complain even though we only want to mark it
permanently active!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170718173028.31207-1-chris@chris-wilson.co.uk
Tested-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/selftests/mock_gem_device.c