drm/amdgpu: set finished fence error if job timedout
authorZhenGuo Yin <zhenguo.yin@amd.com>
Tue, 9 May 2023 09:42:11 +0000 (17:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:32:43 +0000 (12:32 -0400)
commit7a66ad6c087ee3863cc9a8d696ac2191d1c2e904
tree5fa8645bbbc1acbf55c9a2498cad7a98d61900ff
parent932fc49479303961c1da54a1112eb26cdc890c76
drm/amdgpu: set finished fence error if job timedout

Set finished fence to ETIME error if job timedout.

Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-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