aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMaciej Falkowski <[email protected]>2025-04-01 15:57:55 +0000
committerJacek Lawrynowicz <[email protected]>2025-04-11 09:42:55 +0000
commit683e9fa1c885a0cffbc10b459a7eee9df92af1c1 (patch)
tree9317e12d77b84be0c39ed93f8847627df4e8e1eb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/v3d: Fix Indirect Dispatch configuration for V3D 7.1.6 and later (diff)
downloadkernel-683e9fa1c885a0cffbc10b459a7eee9df92af1c1.tar.gz
kernel-683e9fa1c885a0cffbc10b459a7eee9df92af1c1.zip
accel/ivpu: Flush pending jobs of device's workqueues
Use flush_work() instead of cancel_work_sync() for driver IRQ workqueues to guarantee that remaining pending work will be handled. This resolves two issues that were encountered where a driver was left in an incorrect state as the bottom-half was canceled: 1. Cancelling context-abort of a job that is still executing and is causing translation faults which is going to cause additional TDRs 2. Cancelling bottom-half of a DCT (duty-cycle throttling) request which will cause a device to not be adjusted to an external frequency request. Fixes: bc3e5f48b7ee ("accel/ivpu: Use workqueue for IRQ handling") Signed-off-by: Maciej Falkowski <[email protected]> Reviewed-by: Lizhi Hou <[email protected]> Reviewed-by: Jeff Hugo <[email protected]> Signed-off-by: Jacek Lawrynowicz <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions