AMD General > -----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 > > 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]>
Reviewed-by: Mukul Joshi <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c > b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c > index 0cc73982ed6f9..b6cd6babb035a 100644 > --- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c > @@ -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
