diff options
| author | Mukul Joshi <mukul.joshi@amd.com> | 2025-04-24 21:51:23 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-12-08 13:56:35 -0500 |
| commit | db29ddf6505f3e831e000c95ae013b18a37f70bc (patch) | |
| tree | d46e9fa8c2379f92bedade047977bf39a16a37b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | |
| parent | 5056b75fedc01de0563267c53e1aa7e41357f37a (diff) | |
| download | linux-next-db29ddf6505f3e831e000c95ae013b18a37f70bc.tar.gz linux-next-db29ddf6505f3e831e000c95ae013b18a37f70bc.zip | |
drm/amdgpu: Add per-ASIC PTE init flag
On GFX12.1, default PTE setup needs an additional bit to be
set. Add PTE initialization flags to handle setup default PTE
on a per-ASIC basis.
While at it, fixup the coding style too.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h index af6052025c7a..b62fa7e92c79 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h @@ -356,6 +356,7 @@ struct amdgpu_gmc { u64 MC_VM_MX_L1_TLB_CNTL; u64 noretry_flags; + u64 init_pte_flags; bool flush_tlb_needs_extra_type_0; bool flush_tlb_needs_extra_type_2; |
