]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915/selftests: Wait for the context switch
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Feb 2020 08:23:24 +0000 (08:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Feb 2020 15:18:55 +0000 (15:18 +0000)
commitb0158b9132a7f824ed0d908a69a66281c0218189
tree432378a95640264a7ffa604cb5568f5fbe383f23
parentd236e2ac535aee1ee19684427edd3654bac143a4
drm/i915/selftests: Wait for the context switch

As we require a context switch to ensure that the current context is
switched out and saved to memory, perform an explicit switch to the
kernel context and wait for it.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1336
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200228082330.2411941-18-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c