OSDN Git Service

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)
commitbb5e4397a60f293958364331964278c86d3af36d
tree0aeaca7341f6ed6e7be4fb0c44a51348ec60affa
parent1a2466fe13c6d20cd5d9537ada6beafa9cb9c7fb
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