]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Add ring reset callback for JPEG4_0_3
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Wed, 29 Jan 2025 13:31:25 +0000 (19:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:16:11 +0000 (15:16 -0500)
commitc4c3808feb9c279a66519a064908cd06e5800da5
treec415ef78596290b9af6bdcee83c4be7ac2b715bc
parent58702e1a093b76cd273ec25b0cd0218d235743cd
drm/amdgpu: Add ring reset callback for JPEG4_0_3

Add ring reset function callback for JPEG4_0_3 to
recover from job timeouts without a full gpu reset.

V2:
 - sched->ready flag shouldn't be modified by HW backend (Christian)

V3:
 - Dont modifying sched/job-submission state from HW backend (Christian)
 - Implement per-core reset sequence

V4:
 -  Dont create reset_mask sysfs and return -EOPNOTSUPP on VFs (Lijo)

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c