]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Mock the status_page.vma for the kernel_context
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Jul 2020 15:58:58 +0000 (16:58 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 7 Sep 2020 10:13:29 +0000 (13:13 +0300)
commite3d0e213960ece147954ea86a340329361d10e5b
tree01234f9e61d5a360548120a55e2a9ef1a28be02a
parent3f6a6f343c57a773ed146e54de8c626f72dd2be7
drm/i915/selftests: Mock the status_page.vma for the kernel_context

Since we assert that the kernel_context is using the perma-pinned HWSP,
make it so.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2179
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200715155858.16410-1-chris@chris-wilson.co.uk
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gt/mock_engine.c