diff options
| author | Thomas Hellström <[email protected]> | 2023-12-22 18:59:04 +0100 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2024-01-09 17:22:21 +0100 |
| commit | 9d0c1c5618be02c5acda7e6bbb728007b0632984 (patch) | |
| tree | f0b8a1d8a243f04a0184494e2be3c8e5ee982206 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 5030e16140b655ba00217d47680e697480ac3587 (diff) | |
drm/xe/vm: Fix an error path
If using the VM_BIND_OP_UNMAP_ALL without any bound vmas for the
vm, we will end up dereferencing an uninitialized variable and leak a
bo lock. Fix this.
v2:
- Updated commit message (Lucas De Marchi)
Reported-by: Dafna Hirschfeld <[email protected]>
Closes: https://lore.kernel.org/intel-xe/jrwua7ckbiozfcaodx4gg2h4taiuxs53j5zlpf3qzvyhyiyl2d@pbs3plurokrj/
Suggested-by: Dafna Hirschfeld <[email protected]>
Fixes: b06d47be7c83 ("drm/xe: Port Xe to GPUVA")
Signed-off-by: Thomas Hellström <[email protected]>
Acked-by: Lucas De Marchi <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions