summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2026-09-02 17:40:42 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-09-10 12:08:43 -0400
commit18b642b7cbc098cc49cecaebdab37b5687691feb (patch)
tree5835aaec94e73fd9e1bd3715cec9d1d9cec3bf28
parente6b969fe8d282fc2717bed06afe4cc58945ef102 (diff)
downloadlinux-next-18b642b7cbc098cc49cecaebdab37b5687691feb.tar.gz
linux-next-18b642b7cbc098cc49cecaebdab37b5687691feb.zip
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. Reviewed-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Prike Liang <Prike.Liang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
index 0cc73982ed6f..b6cd6babb035 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",