From: Mangesh Gadre <[email protected]>

Add DPX to the 6-XCC supported mode mask
This allows DPX to be advertised and selected

Signed-off-by: Mangesh Gadre <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
index 35faea0ff17ff..14293d52cf104 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
@@ -665,6 +665,7 @@ void amdgpu_xcp_update_supported_modes(struct 
amdgpu_xcp_mgr *xcp_mgr)
                break;
        case 6:
                xcp_mgr->supp_xcp_modes = BIT(AMDGPU_SPX_PARTITION_MODE) |
+                                         BIT(AMDGPU_DPX_PARTITION_MODE) |
                                          BIT(AMDGPU_TPX_PARTITION_MODE) |
                                          BIT(AMDGPU_CPX_PARTITION_MODE);
                break;
-- 
2.55.0

Reply via email to