]> 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)
commit2e780841bec0b7dc6a4828c04d631169123560df
treeee39b3fe95a6c4697d08eee12c90eeb66c73ea40
parent50074bba18ad6fff8eb1c9cf3e810398714855e5
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