Skip to content

Commit ee97326

Browse files
Lijo Lazaralexdeucher
authored andcommitted
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>
1 parent f3f05a0 commit ee97326

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,8 @@ static int aqua_vanjaram_get_xcp_res_info(struct amdgpu_xcp_mgr *xcp_mgr,
473473
break;
474474
case AMDGPU_DPX_PARTITION_MODE:
475475
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);
477478
break;
478479
case AMDGPU_TPX_PARTITION_MODE:
479480
num_xcp = 3;

0 commit comments

Comments
 (0)