drm/amdgpu/jpeg4: add additional ring reset error checking
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 15:00:24 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jul 2025 20:09:25 +0000 (16:09 -0400)
commit94ee19ea149f3d9ffc4baa8a7977c1aa8b878f8e
tree07f4bb3a2abe2e1f519713ab4e37efcea56ec133
parent29184874556adff0399580280a077f3a2833396e
drm/amdgpu/jpeg4: add additional ring reset error checking

Start and stop can fail, so add checks.

Fixes: 74894ffc7d0c ("drm/amdgpu: Add ring reset callback for JPEG4_0_0")
Reviewed-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Sathishkumar S <sathishkumar.sundararaju@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c