diff options
author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2024-01-15 16:44:31 +0300 |
---|---|---|
committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2024-01-22 12:28:46 +0300 |
commit | a8c099d5d0e4b0400cfddfd95b881c8bd9349a88 (patch) | |
tree | 32c4458874bdea325815f55788e0135a4ecbb6ce /tools/Makefile | |
parent | 7f66319927a8ced3be715eb7616a890b9bf0348b (diff) | |
download | linux-a8c099d5d0e4b0400cfddfd95b881c8bd9349a88.tar.xz |
accel/ivpu: Free buffer sgt on unbind
Call dma_unmap() on all buffers before the VPU is unbinded to avoid
"device driver has pending DMA allocations while released from device"
warning when DMA-API debug is enabled.
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240115134434.493839-7-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'tools/Makefile')
0 files changed, 0 insertions, 0 deletions