drm/amdgpu: Align amdgpu_gtt_mgr entries to TLB size on all SI
Subsystems (2)
PATCH 1/1 drm/amdgpu: Align amdgpu_gtt_mgr entries to TLB size on all SI
It seems that Pitcairn has the same issues as Tahiti with regards to the TLB size. This commit fixes a VCE1 FW validation timeout on suspend/resume on Pitcairn.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +1 -1
@@ -203,7 +203,7 @@ int amdgpu_gtt_mgr_alloc_entries(struct amdgpu_gtt_mgr *mgr,int r;/* Align to TLB L2 cache entry size to work around "V bit HW bug" */ -if (adev->asic_type ==CHIP_TAHITI ) { +if (adev->family ==AMDGPU_FAMILY_SI ) { alignment =32 *1024 /AMDGPU_GPU_PAGE_SIZE ; num_pages =ALIGN (num_pages, alignment); }
Signature · 1 line
2.54.0
Alex Deucher
AppliedApplied. Thanks!
Quoted 26 lines · Timur Kristóf
It seems that Pitcairn has the same issues as Tahiti with regards to the TLB size. This commit fixes a VCE1 FW validation timeout on suspend/resume on Pitcairn.
Signed-off-by Timur Kristóf <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +1
-2@@ -203,7 +203,7 @@ int amdgpu_gtt_mgr_alloc_entries(struct amdgpu_gtt_mgr *mgr,int r;/* Align to TLB L2 cache entry size to work around "V bit HW bug" */ -if (adev->asic_type ==CHIP_TAHITI ) { +if (adev->family ==AMDGPU_FAMILY_SI ) { alignment =32 *1024 /AMDGPU_GPU_PAGE_SIZE ; num_pages =ALIGN (num_pages, alignment); } --2.54.0
Quoted 20 lines · Alex Deucher
Applied. Thanks!
Quoted 17 lines · Timur Kristóf
It seems that Pitcairn has the same issues as Tahiti with regards to the TLB size. This commit fixes a VCE1 FW validation timeout on suspend/resume on Pitcairn.
Signed-off-by Timur Kristóf <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +0
-0@@ -203,7 +203,7 @@ int amdgpu_gtt_mgr_alloc_entries(struct amdgpu_gtt_mgr *mgr,int r;
Quoted 10 lines
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +1
-2/* Align to TLB L2 cache entry size to work around "V bit HW bug" */ -if (adev->asic_type ==CHIP_TAHITI ) { +if (adev->family ==AMDGPU_FAMILY_SI ) { alignment =32 *1024 /AMDGPU_GPU_PAGE_SIZE ; num_pages =ALIGN (num_pages, alignment); } --2.54.0
Hi Alex,
I can't find this patch in the amd-staging-drm-next branch or any other recent branch in your Gitlab repo on freedesktop.org. I hope it didn't get lost? I think this should land in kernel 7.1 before the release.
Thanks,
Viktor
Deucher, Alexander
maintainerPublic
Quoted 48 lines
-----Original Message-----
From: Viktor Jägersküpper <[email protected]>
Sent: Monday, June 1, 2026 4:06 PM
To: Alex Deucher <[email protected]>; Timur Kristóf <[email protected]>
Cc: [email protected]; Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Natalie Vock <[email protected]>; Limonciello, Mario <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: Alignamdgpu_gtt_mgrentries to TLB size on all SIQuoted 3 lines · Alex Deucher
Applied. Thanks!
On Mon, May 25, 2026 at 7:39 AM Timur Kristóf
Quoted 10 lines · <[email protected]> wrote:
Quoted 10 lines
It seems that Pitcairn has the same issues as Tahiti with regards to the TLB size. This commit fixes a
VCE1 FW validation timeout on suspend/resume on Pitcairn.Signed-off-by Timur Kristóf <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c int amdgpu_gtt_mgr_alloc_entries(struct
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +0
-0@@ -203,7 +203,7 @@ int amdgpu_gtt_mgr_alloc_entries(struct
amdgpu_gtt_mgr*mgr,Quoted 12 lines
Quoted 11 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +1
-2int r;/* Align to TLB L2 cache entry size to work around "V bit HW bug" */ -if (adev->asic_type ==CHIP_TAHITI ) { +if (adev->family ==AMDGPU_FAMILY_SI ) { alignment =32 *1024 /AMDGPU_GPU_PAGE_SIZE ; num_pages =ALIGN (num_pages, alignment); } --2.54.0
Quoted 6 lines
Hi Alex,
I can't find this patch in the amd-staging-drm-next branch or any other recent branch in your Gitlab repo on freedesktop.org. I hope it didn't get lost? I think this should land in kernel 7.1 before the release.
It did not get lost. We had some infrastructure issues last week after the holiday so things are a bit slow to get caught up.
Alex