summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-09-16 10:48:42 -0700
committerLizhi Hou <lizhi.hou@amd.com>2025-09-17 11:02:31 -0700
commit457f4393d02fdb612a93912fb09cef70e6e545c9 (patch)
tree15f2c4eaab4ce3d7ea0c2ec8a04fe5e7bd36a56d /tools/perf/scripts/python/stackcollapse.py
parent091767ee7510765886b8475c44fd81b2e6e9da87 (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions