]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/jpeg2: add additional ring reset error checking
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 14:52:49 +0000 (10:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jul 2025 20:08:17 +0000 (16:08 -0400)
commitc9bfafc1a672978b7608fcfb5f498ea1acf4dd24
tree23d2bbb0d4a877fdd15cac1d69ea67ac34c2bdfb
parentd18e1faef6baab417cff8f6704c6279ba8f4922f
drm/amdgpu/jpeg2: add additional ring reset error checking

Start and stop can fail, so add checks.

Fixes: 500c04d2a708 ("drm/amdgpu: Add ring reset callback for JPEG2_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_v2_0.c