Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: Add NPS2 to DPX compatible mode

Compute partition DPX is possible in NPS2 mode. Update the compatible
modes for DPX.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lijo Lazar and committed by
Alex Deucher
ee97326f f3f05a0e

+2 -1
+2 -1
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c
··· 473 473 break; 474 474 case AMDGPU_DPX_PARTITION_MODE: 475 475 num_xcp = 2; 476 - nps_modes = BIT(AMDGPU_NPS1_PARTITION_MODE); 476 + nps_modes = BIT(AMDGPU_NPS1_PARTITION_MODE) | 477 + BIT(AMDGPU_NPS2_PARTITION_MODE); 477 478 break; 478 479 case AMDGPU_TPX_PARTITION_MODE: 479 480 num_xcp = 3;