linux/drivers/gpu/drm/amd
Boyuan Zhang c44af3810f drm/amdgpu/jpeg: fix jpeg_v4_0_3_is_idle detection
jpeg_v4_0_3_is_idle() initializes ret to false and then accumulates ring
idle status using &=. Since false & condition always remains false, the
function can never report the JPEG block as idle.

Initialize ret to true so the function returns true only when all JPEG
rings report RB_JOB_DONE.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit e9df8e9d04)
Cc: stable@vger.kernel.org
2026-07-01 13:02:53 -04:00
..
acp
amdgpu drm/amdgpu/jpeg: fix jpeg_v4_0_3_is_idle detection 2026-07-01 13:02:53 -04:00
amdkfd drm/amdgpu: Fix AMDGPU_GTT_MAX_TRANSFER_SIZE for non-4K systems 2026-07-01 13:02:00 -04:00
amdxcp drm/amd/amdxcp: use kasprintf for XCP platform device names 2026-06-03 13:53:08 -04:00
display drm/amd/display: detect_link_and_local_sink: DP alt mode timeout path leaks prev_sink reference 2026-07-01 13:02:23 -04:00
include drm/amdgpu/mes11: set doorbell offset for suspending userq 2026-07-01 13:01:15 -04:00
pm drm/amd/pm: fix smu13 power limit range calculation 2026-07-01 13:02:15 -04:00
ras drm/amd/ras: validate RAS EEPROM tbl_size before record count 2026-06-03 13:52:55 -04:00