summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-09-16 20:48:42 +0300
committerLizhi Hou <lizhi.hou@amd.com>2025-09-17 21:02:31 +0300
commit457f4393d02fdb612a93912fb09cef70e6e545c9 (patch)
tree15f2c4eaab4ce3d7ea0c2ec8a04fe5e7bd36a56d /include/linux
parent091767ee7510765886b8475c44fd81b2e6e9da87 (diff)
downloadlinux-457f4393d02fdb612a93912fb09cef70e6e545c9.tar.xz
accel/amdxdna: Call dma_buf_vmap_unlocked() for imported object
In amdxdna_gem_obj_vmap(), calling dma_buf_vmap() triggers a kernel warning if LOCKDEP is enabled. So for imported object, use dma_buf_vmap_unlocked(). Then, use drm_gem_vmap() for other objects. The similar change applies to vunmap code. Fixes: bd72d4acda10 ("accel/amdxdna: Support user space allocated buffer") Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/r/20250916174842.234709-1-lizhi.hou@amd.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions