drm/amdgpu: Forward soft recovery errors to userspace
authorJoshua Ashton <joshua@froggi.es>
Thu, 7 Mar 2024 19:04:31 +0000 (19:04 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2024 15:11:01 +0000 (11:11 -0400)
commit434967aadbbbe3ad9103cc29e9a327de20fdba01
tree65c49450821eafd17753e09ab95a6e15fe1aee31
parent671af06690e7f79db51b475a35c3b2619f345abc
drm/amdgpu: Forward soft recovery errors to userspace

As we discussed before[1], soft recovery should be
forwarded to userspace, or we can get into a really
bad state where apps will keep submitting hanging
command buffers cascading us to a hard reset.

1: https://lore.kernel.org/all/bf23d5ed-9a6b-43e7-84ee-8cbfd0d60f18@froggi.es/
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c