[PATCH 3/5] drm/amdgpu: add additional VM bits

Alex Deucher alexander.deucher at amd.com
Fri May 31 16:07:33 UTC 2024


Add additional VM PTE bits.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index acd1b55b8b0e..a14cf93417c7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -122,6 +122,7 @@ struct amdgpu_mem_stats;
 	(((uint64_t)(flags) & (~AMDGPU_PTE_MTYPE_GFX12_MASK)) |	\
 	  AMDGPU_PTE_MTYPE_GFX12_SHIFT(mtype))
 
+#define AMDGPU_PTE_DCC			(1ULL << 58)
 #define AMDGPU_PTE_IS_PTE		(1ULL << 63)
 
 /* PDE Block Fragment Size for gfx v12 */
-- 
2.45.1



More information about the amd-gfx mailing list