Re: [PATCH 07/10] accel/ivpu: Free buffer sgt on unbind

2024-01-05 Thread Jeffrey Hugo
On 1/5/2024 4:22 AM, Jacek Lawrynowicz wrote: Call dma_unmap() on all buffers before to VPU is unbinded to avoid to -> the ? "device driver has pending DMA allocations while released from device" warning when DMA-API debug is enabled. Signed-off-by: Jacek Lawrynowicz Reviewed-by: Jeffrey

[PATCH 07/10] accel/ivpu: Free buffer sgt on unbind

2024-01-05 Thread Jacek Lawrynowicz
Call dma_unmap() on all buffers before to 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 --- drivers/accel/ivpu/ivpu_gem.c | 14 -- 1 file changed, 12 insertions(+