* [PATCH] drm/amdkfd: bump minimum vgpr size for gfx1151
@ 2025-12-05 19:57 Jonathan Kim
2025-12-05 20:00 ` Mario Limonciello
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Kim @ 2025-12-05 19:57 UTC (permalink / raw)
To: amd-gfx; +Cc: Mario.Limonciello, Kent.Russell, Jonathan Kim
GFX1151 has 1.5x the number of available physical VGPRs per SIMD.
Bump total memory availability for acquire checks on queue creation.
Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
---
drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_queue.c b/drivers/gpu/drm/amd/amdkfd/kfd_queue.c
index f1e7583650c4..80c4fa2b0975 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_queue.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_queue.c
@@ -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;
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amdkfd: bump minimum vgpr size for gfx1151
2025-12-05 19:57 [PATCH] drm/amdkfd: bump minimum vgpr size for gfx1151 Jonathan Kim
@ 2025-12-05 20:00 ` Mario Limonciello
0 siblings, 0 replies; 2+ messages in thread
From: Mario Limonciello @ 2025-12-05 20:00 UTC (permalink / raw)
To: Jonathan Kim, amd-gfx; +Cc: Kent.Russell
On 12/5/25 1:57 PM, Jonathan Kim wrote:
> GFX1151 has 1.5x the number of available physical VGPRs per SIMD.
> Bump total memory availability for acquire checks on queue creation.
>
Cc: stable@vger.kernel.org
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
> Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_queue.c b/drivers/gpu/drm/amd/amdkfd/kfd_queue.c
> index f1e7583650c4..80c4fa2b0975 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_queue.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_queue.c
> @@ -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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-05 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 19:57 [PATCH] drm/amdkfd: bump minimum vgpr size for gfx1151 Jonathan Kim
2025-12-05 20:00 ` Mario Limonciello
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox