]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Add a simple rollover test for the kernel context
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Feb 2020 09:41:02 +0000 (09:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Feb 2020 09:43:06 +0000 (09:43 +0000)
commitd83a7daec23d366f00cb414e508e503a4662123e
tree0aeaca7341f6ed6e7be4fb0c44a51348ec60affa
parent2900b33475e2bbb8541a42f0ad22ec74669b9760
drm/i915/selftests: Add a simple rollover test for the kernel context

Exercise the seqno wrap paths on the kernel context to provide a small
amount of sanity checking and ensure that they are visible to lockdep.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200204094102.876636-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_timeline.c