drm/i915/selftest: Fix an error code in live_noa_gpr()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Jul 2020 14:36:52 +0000 (17:36 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Jul 2020 17:16:15 +0000 (18:16 +0100)
commit23ec9f42241a4625b954023aae3591c0baa12ea1
treebdbf24ebee4d09a96890b4c854e51efaa2f05d5f
parent0428ab013fdd39dbfb8f4cd8ad2b60af3776c6b9
drm/i915/selftest: Fix an error code in live_noa_gpr()

The error code needs to be set on this path.  It currently returns
success.

Fixes: ed2690a9ca89 ("drm/i915/selftest: Check that GPR are restored across noa_wait")
Reported-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200714143652.GA337376@mwanda
drivers/gpu/drm/i915/selftests/i915_perf.c