]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/jpeg1.0: fix idle work handler
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2024 19:00:05 +0000 (14:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2024 22:37:31 +0000 (17:37 -0500)
commitc6c2f66372d5cba5ce85eed686901259333ed816
tree86138e871a4d16cb8f32bf35d6dc5b9706a3f07e
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
drm/amdgpu/jpeg1.0: fix idle work handler

On VCN 1.0, VCN and JPEG use the same worker thread so cancel
the vcn worker rather than jpeg.  On VCN 2.0 and newer
there are separate workers for each.

Fixes: 93df74873703 ("drm/amdgpu/jpeg: cancel the jpeg worker")
Tested-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c