summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSiwei He <siwei.he@amd.com>2026-04-14 14:46:54 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-04-21 17:03:25 -0400
commit778bf584f2fb0a2b09594f568faf400bf6858091 (patch)
tree5ff01b90c4cfc6cbd20fbdb0c1fd88f279465d6a /include/linux
parent0e48f27d139ecb5a3ea9123243558abb3f022765 (diff)
drm/amdgpu: OR init_pte_flags into invalid leaf PTE updates
Invalid leaf clears that only set AMDGPU_PTE_EXECUTABLE match the old GMC9 fault-priority workaround but omit adev->gmc.init_pte_flags. On GFX12 that includes AMDGPU_PTE_IS_PTE; without it, some cleared PTEs can fault as no-retry and bypass the SVM/XNACK handler when a VA is reused after a BO unmap. Apply init_pte_flags in amdgpu_vm_pte_update_flags() alongside EXECUTABLE so range-driven clears (e.g. amdgpu_vm_clear_freed) match amdgpu_vm_pt_clear() for leaf templates. Signed-off-by: Siwei He <siwei.he@amd.com> Reviewed-by: Philip Yang <philip.yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 9d47b2c36b9a6c6b844c33cab407a5d7ad102234)
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions