diff options
| author | Matthew Brost <[email protected]> | 2023-11-20 12:08:48 -0800 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:44:51 -0500 |
| commit | 40709aa761acbc78fe6c0405720d79cbf8345095 (patch) | |
| tree | 5e7c11bf31579a6ce05f227c8e87c3414794adac /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 0bc519d20ffa7a450bfa21c644c2de95ae8027dc (diff) | |
drm/xe: Only set xe_vma_op.map fields for GPUVA map operations
DRM_XE_VM_BIND_OP_MAP_* IOCTL operations can result in GPUVA unmap, remap,
or map operations in vm_bind_ioctl_ops_create. The xe_vma_op.map fields
are blindly set which is incorrect for GPUVA unmap or remap operations.
Fix this by only setting xe_vma_op.map for GPUVA map operations. Also
restructure a bit vm_bind_ioctl_ops_create to make the code a bit more
readable.
Reported-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Brian Welty <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions