drm/amdgpu/gmc12: drop duplicate gmc.init_pte_flags
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/gmc12: drop duplicate gmc.init_pte_flags
This is now set for all GMC 12.x variants inearly_init() so drop the duplicate setting.
--- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +0 -1
@@ -861,7 +861,6 @@ static int gmc_v12_0_sw_init(struct amdgpu_ip_block *ip_block) pte_addr_mask =0x000FFFFFFFFFF000ULL ;/* 52 bit PA */ dma_addr_bits =52 ; adev->gmc.translate_further = adev->vm_manager.num_level >1 ; - adev->gmc.init_pte_flags =AMDGPU_PTE_IS_PTE ;break ;default : dev_warn(adev->dev, "Unrecognized GC IP version: 0x%08x\n",
Signature · 1 line
2.55.0
AMD General
Quoted 8 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Wednesday, September 2, 2026 5:43 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/gmc12: drop duplicate gmc.init_pte_flags
Quoted 4 lines
This is now set for all GMC 12.x variants in
early_init()so drop the duplicate setting.Signed-off-by Alex Deucher <[email protected]>
Quoted 22 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +0
-1@@ -861,7 +861,6 @@ static int gmc_v12_0_sw_init(struct amdgpu_ip_block *ip_block) pte_addr_mask =0x000FFFFFFFFFF000ULL ;/* 52 bit PA */ dma_addr_bits =52 ; adev->gmc.translate_further = adev->vm_manager.num_level >1 ; - adev->gmc.init_pte_flags =AMDGPU_PTE_IS_PTE ;break ;default: dev_warn(adev->dev, "Unrecognized GC IP version:0x%08x\n",
--
2.55.0
AMD General
Regards,
Prike
Quoted 32 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Thursday, September 3, 2026 5:43 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/gmc12: drop duplicate gmc.init_pte_flagsThis is now set for all GMC 12.x variants in
early_init()so drop the duplicate setting.Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +0
-1@@ -861,7 +861,6 @@ static int gmc_v12_0_sw_init(struct amdgpu_ip_block *ip_block) pte_addr_mask =0x000FFFFFFFFFF000ULL ;/* 52 bit PA */ dma_addr_bits =52 ; adev->gmc.translate_further = adev->vm_manager.num_level >1 ; - adev->gmc.init_pte_flags =AMDGPU_PTE_IS_PTE ;break ;default :dev_warn(adev->dev, "Unrecognized GC IP version: 0x%08x\n",--
2.55.0