diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-11-13 14:28:54 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-11-21 15:56:23 -0500 |
commit | 93df74873703694f7c977bc13ff3baa667819b22 (patch) | |
tree | d6e699ee7d0f540b4f05e6573bec288ba1e37236 /drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | |
parent | b61badd20b443eabe132314669bb51a263982e5c (diff) | |
download | linux-93df74873703694f7c977bc13ff3baa667819b22.tar.gz linux-93df74873703694f7c977bc13ff3baa667819b22.tar.bz2 linux-93df74873703694f7c977bc13ff3baa667819b22.zip |
drm/amdgpu/jpeg: cancel the jpeg worker
Looks like these got missed when jpeg was split from vcn.
Cancel the jpeg workers rather than vcn workers.
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c index 03b8b7cd5229..7319299f25ae 100644 --- a/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c +++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c @@ -604,7 +604,7 @@ static void jpeg_v1_0_set_irq_funcs(struct amdgpu_device *adev) static void jpeg_v1_0_ring_begin_use(struct amdgpu_ring *ring) { struct amdgpu_device *adev = ring->adev; - bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work); + bool set_clocks = !cancel_delayed_work_sync(&adev->jpeg.idle_work); int cnt = 0; mutex_lock(&adev->vcn.vcn1_jpeg1_workaround); |