diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2025-09-16 10:48:42 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2025-09-17 11:02:31 -0700 |
| commit | 457f4393d02fdb612a93912fb09cef70e6e545c9 (patch) | |
| tree | 15f2c4eaab4ce3d7ea0c2ec8a04fe5e7bd36a56d /tools/perf/scripts/python | |
| parent | 091767ee7510765886b8475c44fd81b2e6e9da87 (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
