drm/amdgpu: Set PTE_IS_PTE bit for gfx12

Set PTE_IS_PTE bit while PRT is enabled on gfx12.

Signed-off-by: Frank Min <Frank.Min@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Frank Min 2024-06-03 09:53:58 +08:00 committed by Alex Deucher
parent 239612c376
commit 978f5428c9

View File

@ -516,6 +516,7 @@ static void gmc_v12_0_get_vm_pte(struct amdgpu_device *adev,
*flags |= AMDGPU_PTE_PRT_GFX12;
*flags |= AMDGPU_PTE_SNOOPED;
*flags |= AMDGPU_PTE_SYSTEM;
*flags |= AMDGPU_PTE_IS_PTE;
*flags &= ~AMDGPU_PTE_VALID;
}