summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2026-10-08 14:10:14 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-11-11 15:56:58 -0500
commit566ed98e48be75a76eea34745815a51ba36687a8 (patch)
treed40850a6c5fcbd260cae200ed128ce792735ecf6 /tools/perf/scripts/python
parent732239b002678d8c534503f52a16afc310095523 (diff)
drm/amdgpu: fix TLB invalidation fence handling v4
After each unmap it might be necessary to invalidate the TLB to flush out VM changes to the HW and make it visible to executing work. We tracked that as part of the vm->last_update fence, but as pointed out by David it can be that this is overwritten by PDE updates when we have a combined unmap/map operation. In that case userspace doesn't correctly wait for the TLB invalidation to finish leading to all kind of problems (sq_int, page faults etc...). v2: fix ref leaking and error handling as pointed out by AI v3: fix inverted ! pointed out by Benjamin v4: fix || / && pointed out by Benjamin Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 892f46c7ae70969dbe0e0b88b5864df6f5582b98) Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions