mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 11:03:51 -04:00
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.
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 b42f3bf953)
Cc: stable@vger.kernel.org
This commit is contained in:
committed by
Alex Deucher
parent
7329417fc9
commit
cf32644963
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user