]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
accel/ivpu: Remove skip of dma unmap for imported buffers
authorMaciej Falkowski <maciej.falkowski@linux.intel.com>
Mon, 27 Oct 2025 15:09:32 +0000 (16:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:43 +0000 (14:02 +0100)
commit22da82674af6f6f625202b1e89a7781d82db7809
tree88f9cc48f16f254be16a1d1dbde8bccd7288f4e8
parentd53bfb48f6d01d8af988a01549cce52b9a5719ae
accel/ivpu: Remove skip of dma unmap for imported buffers

[ Upstream commit c063c1bbee67391f12956d2ffdd5da00eb87ff79 ]

Rework of imported buffers introduced in the commit
e0c0891cd63b ("accel/ivpu: Rework bind/unbind of imported buffers")
switched the logic of imported buffers by dma mapping/unmapping
them just as the regular buffers.

The commit didn't include removal of skipping dma unmap of imported
buffers which results in them being mapped without unmapping.

Fixes: e0c0891cd63b ("accel/ivpu: Rework bind/unbind of imported buffers")
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Link: https://patch.msgid.link/20251027150933.2384538-1-maciej.falkowski@linux.intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/accel/ivpu/ivpu_gem.c