Skip to content

Commit a9bc5a1

Browse files
rajbharalexdeucher
authored andcommitted
drm/amdgpu: Make CPX mode auto default in NPS4
On GFXIP9.4.3, make CPX mode as the default compute mode if the node is setup in NPS4 memory partition mode. This change is only applicable for dGPU, for APU, continue to use TPX mode. Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 1f327df commit a9bc5a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ __aqua_vanjaram_get_auto_mode(struct amdgpu_xcp_mgr *xcp_mgr)
422422

423423
if (adev->gmc.num_mem_partitions == num_xcc / 2)
424424
return (adev->flags & AMD_IS_APU) ? AMDGPU_TPX_PARTITION_MODE :
425-
AMDGPU_QPX_PARTITION_MODE;
425+
AMDGPU_CPX_PARTITION_MODE;
426426

427427
if (adev->gmc.num_mem_partitions == 2 && !(adev->flags & AMD_IS_APU))
428428
return AMDGPU_DPX_PARTITION_MODE;

0 commit comments

Comments
 (0)