]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Exercise some AB...BA preemption chains
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Feb 2019 12:38:35 +0000 (12:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Feb 2019 16:16:02 +0000 (16:16 +0000)
commit9a9d952c239f57d4bdeb145f67cb7dfcc671b79c
treeee39b3fe95a6c4697d08eee12c90eeb66c73ea40
parent2f8a84a591bce6bcbf7c6ef01a7b7c3973f3367c
drm/i915/selftests: Exercise some AB...BA preemption chains

Build a chain using 2 contexts (A, B) then request a preemption such
that a later A request runs before the spinner in B.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190205123835.25331-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_lrc.c