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)
commit989536a4e6ef8bb230fdc83f3167849b909d7671
tree66e79a56d2205638a8536be12641aab30041f432
parent8d03344b9df3dca108f8849c71a4eb5e65cebcf4
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