]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Break out of the lrc layout test after register mismatch
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Jan 2021 12:39:36 +0000 (12:39 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Jan 2021 15:37:19 +0000 (15:37 +0000)
commitb85bf82721156fa0c9eb2b7ef8064dd34c156dad
tree66e79a56d2205638a8536be12641aab30041f432
parent8e849179f69d3e379354dc551e1f2035f5c3ac7e
drm/i915/selftests: Break out of the lrc layout test after register mismatch

AFter detecting a register mismatch between the protocontext and the
image generated by HW, immediately break out of the double loop.
Otherwise we end up with a second confusing error message.

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/20210106123939.18435-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c