drm/i915/selftests: Fix some error codes
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 11 Jan 2021 13:13:20 +0000 (13:13 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Jan 2021 13:19:17 +0000 (13:19 +0000)
commit6a3daee1b38e239fb7c93e03ce77eb722d30db38
tree2fe763f9a2ff68f32a5fa85b27f643eb233466a6
parentbaa7c2cd99c6326b4d1dece6046479b183533943
drm/i915/selftests: Fix some error codes

These error paths return success instead of negative error codes as
intended.

Fixes: c92724de6db1 ("drm/i915/selftests: Try to detect rollback during batchbuffer preemption")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/X/xMdcewtft7+QFM@mwanda
drivers/gpu/drm/i915/gt/selftest_execlists.c