summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2026-06-24 16:00:41 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:48:30 -0400
commit631849ff5d603841e74f19f4a5e30fe1f7d7cf30 (patch)
tree445f1c099aeefe6841352d01b913022eb5ff2434 /tools/perf/scripts/python/bin
parent404665cf00288ba4c63f67e744ec05d5b61e1a26 (diff)
drm/amdgpu: fix check in amdgpu_hmm_invalidate_gfx
For a short moment during alloc/free the userptr BO is not part of his VM, so bo->vm_bo can be NULL. Keep a reference to the VM root PD as parent of the userptr BO so that we can always use that to wait for all submissions of the VM instead of only the one involving the userptr BO. Signed-off-by: Christian König <christian.koenig@amd.com> Fixes: 91250893cbaa ("drm/amdgpu: fix waiting for all submissions for userptrs") Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5399 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions