drm/amdgpu: attach tlb fence to the PTs update
authorPrike Liang <Prike.Liang@amd.com>
Fri, 31 Oct 2025 09:02:51 +0000 (17:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Nov 2025 17:33:05 +0000 (12:33 -0500)
commitb4a7f4e7ad2b120a94f3111f92a11520052c762d
treec6a9e453c1e4cca336a9ce4e0cbdee9b7d3c3ffb
parent8ea902361734c87b82122f9c17830f168ebfc65a
drm/amdgpu: attach tlb fence to the PTs update

Ensure the userq TLB flush is emitted only after
the VM update finishes and the PT BOs have been
annotated with bookkeeping fences.

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f3854e04b708d73276c4488231a8bd66d30b4671)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c