diff options
| author | Stanislaw Gruszka <[email protected]> | 2023-10-28 15:59:32 +0000 |
|---|---|---|
| committer | Stanislaw Gruszka <[email protected]> | 2023-10-31 15:25:03 +0000 |
| commit | ba6b035daac8c4fa5da1f14f262d97e0ffa45a6d (patch) | |
| tree | fa11c215ab8d3b6927753d6ac0a6da9f7c8cf961 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | accel/ivpu: Stop job_done_thread on suspend (diff) | |
| download | kernel-ba6b035daac8c4fa5da1f14f262d97e0ffa45a6d.tar.gz kernel-ba6b035daac8c4fa5da1f14f262d97e0ffa45a6d.zip | |
accel/ivpu: Abort pending rx ipc on reset
Waking up process, which wait for particular condition, will go to
sleep again on wake_up() if the condition is not met. Add abort flag
to wake up IPC receivers, which will finish with -ECANCELED error.
This is only needed for reset, run time power management prevent to
suspend VPU when there is pending IPC processing or pending job.
Reviewed-by: Karol Wachowski <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
