OSDN Git Service

drm/i915/selftests: Add some missing error propagation
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 5 Jun 2023 13:11:35 +0000 (14:11 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 7 Jun 2023 09:43:22 +0000 (12:43 +0300)
commit79d0150d2d983a4f6efee676cea06027f586fcd0
tree50982008ccae37d3509a4db6c59a67c5420eda6d
parent2d6f2f79e06571d41eb1223abebe9097511c9544
drm/i915/selftests: Add some missing error propagation

Add some missing error propagation in live_parallel_switch.

To avoid needlessly burdening the various backport processes, note I am
not marking it as a fix against any patches and not copying stable since
it is debug/selftests only code.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Fixes: 50d16d44cce4 ("drm/i915/selftests: Exercise context switching in parallel")
Fixes: 6407cf533217 ("drm/i915/selftests: Stop using kthread_stop()")
Link: https://patchwork.freedesktop.org/patch/msgid/20230605131135.396854-1-tvrtko.ursulin@linux.intel.com
(cherry picked from commit 412fa1f097f48c8c1321806dd25e46618e0da147)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c