]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite56ed04b4c729e5a281a7db16c176e5e74fb5e68
tree6c6e146f0c2844bad2177eb65335478431d3d731
parenta9f4ee2e0ac2768d184887760feb711e8099ff55
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