diff options
| author | 2025-09-16 10:48:42 -0700 | |
|---|---|---|
| committer | 2025-09-17 11:02:31 -0700 | |
| commit | 457f4393d02fdb612a93912fb09cef70e6e545c9 (patch) | |
| tree | 15f2c4eaab4ce3d7ea0c2ec8a04fe5e7bd36a56d /scripts/Makefile.thinlto | |
| parent | drm/sched: backend_ops doc fix (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
