diff options
| author | Boyuan Zhang <boyuan.zhang@amd.com> | 2026-06-26 10:39:26 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:48:01 -0400 |
| commit | e9df8e9d04e0593d17ddb069f3b7958991cd18c9 (patch) | |
| tree | 0e03cc37a2550a0f6d36a14663710ee8f69ba950 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 680adf5faeeabb4585f7aeb53681719e2d6c2f41 (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
