]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Grab the runtime pm in shrink_thp
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Jul 2022 15:47:38 +0000 (16:47 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 7 Jul 2022 08:16:43 +0000 (09:16 +0100)
commit179ee6c20f13862fa0cc7a190466e55b47b76b76
treec6dc4d8acacf6ad58f21aa9a611185adbcd31ebf
parent0c48ac72cfe7d194acd9caafeeeaeda9532a15d7
drm/i915/selftests: Grab the runtime pm in shrink_thp

Since we are not holding a wakeref, shrinking a bound object is not
guaranteed.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6370
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220706154738.235204-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/selftests/huge_pages.c