Skip to content

Commit 7f26af7

Browse files
jokim-amdgregkh
authored andcommitted
drm/amdkfd: bump minimum vgpr size for gfx1151
commit cf32644 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 b42f3bf) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 7445db6 commit 7f26af7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/amd/amdkfd/kfd_queue.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ static u32 kfd_get_vgpr_size_per_cu(u32 gfxv)
409409
vgpr_size = 0x80000;
410410
else if (gfxv == 110000 || /* GFX_VERSION_PLUM_BONITO */
411411
gfxv == 110001 || /* GFX_VERSION_WHEAT_NAS */
412+
gfxv == 110501 || /* GFX_VERSION_GFX1151 */
412413
gfxv == 120000 || /* GFX_VERSION_GFX1200 */
413414
gfxv == 120001) /* GFX_VERSION_GFX1201 */
414415
vgpr_size = 0x60000;

0 commit comments

Comments
 (0)