Skip to contentSkip to conversation

drm/amdkfd: bump minimum vgpr size for gfx1151

PATCH In review Jonathan Kim 2 participants 2 messages Dec 5, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdkfd: bump minimum vgpr size for gfx1151

GFX1151 has 1.5x the number of available physical VGPRs per SIMD. Bump total memory availability for acquire checks on queue creation.

---
 drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_queue.c +1 -0
index f1e7583650c4..80c4fa2b0975 100644
@@ -409,6 +409,7 @@ static u32 kfd_get_vgpr_size_per_cu(u32 gfxv)
 		vgpr_size = 0x80000;
 	else if (gfxv == 110000 ||		/* GFX_VERSION_PLUM_BONITO */
 		 gfxv == 110001 ||		/* GFX_VERSION_WHEAT_NAS */
+		 gfxv == 110501 ||		/* GFX_VERSION_GFX1151 */
 		 gfxv == 120000 ||		/* GFX_VERSION_GFX1200 */
 		 gfxv == 120001)		/* GFX_VERSION_GFX1201 */
 		vgpr_size = 0x60000;
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jonathan Kim

GFX1151 has 1.5x the number of available physical VGPRs per SIMD. Bump total memory availability for acquire checks on queue creation.

Quoted 17 lines
---
  drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_queue.c +1 -0
index f1e7583650c4..80c4fa2b0975 100644
@@ -409,6 +409,7 @@ static u32 kfd_get_vgpr_size_per_cu(u32 gfxv)
  		vgpr_size = 0x80000;
  	else if (gfxv == 110000 ||		/* GFX_VERSION_PLUM_BONITO */
  		 gfxv == 110001 ||		/* GFX_VERSION_WHEAT_NAS */
+		 gfxv == 110501 ||		/* GFX_VERSION_GFX1151 */
  		 gfxv == 120000 ||		/* GFX_VERSION_GFX1200 */
  		 gfxv == 120001)		/* GFX_VERSION_GFX1201 */
  		vgpr_size = 0x60000;