]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: Fix PTE clearing during SVM unmap on GFX 12.1
authorMukul Joshi <mukul.joshi@amd.com>
Wed, 13 Aug 2025 02:57:38 +0000 (22:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:35 +0000 (13:56 -0500)
commit2634ef1b8c00207dde5101e926241957aa5652b8
tree7ceb25e703bca05a6bebe197f0751379610e70c3
parent3a338bb1144d622ca2daea67756ebc9301579785
drm/amdkfd: Fix PTE clearing during SVM unmap on GFX 12.1

During migration from VRAM to RAM, when PTE is cleared, reset
the PTE to always ensure that PTE.P=1 is set on GFX 12.1. If
PTE.P is not set, it can lead to TF faults.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Alex Sierra <alex.sierra@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c