]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amdkfd: bump minimum vgpr size for gfx1151
authorJonathan Kim <jonathan.kim@amd.com>
Fri, 5 Dec 2025 19:41:08 +0000 (14:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:54 +0000 (10:14 +0100)
commit cf326449637a566ba98fb82c47d46cd479608c88 upstream.

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>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit b42f3bf9536c9b710fd1d4deb7d1b0dc819dc72d)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdkfd/kfd_queue.c

index 94937b824e9882bdfaf33ed571f07c93109c47d1..0c6ef2919d87052f671f8d10ed3a94e0eec02de5 100644 (file)
@@ -408,6 +408,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;