Commit 978f5428 authored by Frank Min's avatar Frank Min Committed by Alex Deucher

drm/amdgpu: Set PTE_IS_PTE bit for gfx12

Set PTE_IS_PTE bit while PRT is enabled on gfx12.
Signed-off-by: default avatarFrank Min <Frank.Min@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 239612c3
...@@ -516,6 +516,7 @@ static void gmc_v12_0_get_vm_pte(struct amdgpu_device *adev, ...@@ -516,6 +516,7 @@ static void gmc_v12_0_get_vm_pte(struct amdgpu_device *adev,
*flags |= AMDGPU_PTE_PRT_GFX12; *flags |= AMDGPU_PTE_PRT_GFX12;
*flags |= AMDGPU_PTE_SNOOPED; *flags |= AMDGPU_PTE_SNOOPED;
*flags |= AMDGPU_PTE_SYSTEM; *flags |= AMDGPU_PTE_SYSTEM;
*flags |= AMDGPU_PTE_IS_PTE;
*flags &= ~AMDGPU_PTE_VALID; *flags &= ~AMDGPU_PTE_VALID;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment