OSDN Git Service

drm/i915/selftests: Refactor sibling selection
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 May 2020 10:29:11 +0000 (11:29 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 May 2020 13:41:47 +0000 (14:41 +0100)
commit67a64e51ba9266e64ae705f4dc9a244ad6da4376
tree6fd22330d00239fb00d6ecb2aa18dfc508416869
parent993fa32eb3d5ffb79e86a770ca982eb9c9f54011
drm/i915/selftests: Refactor sibling selection

Tvrtko spotted that some selftests were using 'break' not 'continue',
which will fail for discontiguous engine layouts such as on Icelake
(which may have vcs0 and vcs2).

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