Commit b7e919b9 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

drm/amd/pp: Disable OD feature on APU/Iceland

Not supported on APUs or Iceland.
and still not enabled on CI.
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3abb2026
...@@ -167,9 +167,11 @@ int hwmgr_early_init(struct pp_instance *handle) ...@@ -167,9 +167,11 @@ int hwmgr_early_init(struct pp_instance *handle)
hwmgr->feature_mask &= ~(PP_VBI_TIME_SUPPORT_MASK | hwmgr->feature_mask &= ~(PP_VBI_TIME_SUPPORT_MASK |
PP_ENABLE_GFX_CG_THRU_SMU); PP_ENABLE_GFX_CG_THRU_SMU);
hwmgr->pp_table_version = PP_TABLE_V0; hwmgr->pp_table_version = PP_TABLE_V0;
hwmgr->od_enabled = false;
smu7_init_function_pointers(hwmgr); smu7_init_function_pointers(hwmgr);
break; break;
case AMDGPU_FAMILY_CZ: case AMDGPU_FAMILY_CZ:
hwmgr->od_enabled = false;
hwmgr->smumgr_funcs = &cz_smu_funcs; hwmgr->smumgr_funcs = &cz_smu_funcs;
cz_init_function_pointers(hwmgr); cz_init_function_pointers(hwmgr);
break; break;
...@@ -181,6 +183,7 @@ int hwmgr_early_init(struct pp_instance *handle) ...@@ -181,6 +183,7 @@ int hwmgr_early_init(struct pp_instance *handle)
hwmgr->feature_mask &= ~ (PP_VBI_TIME_SUPPORT_MASK | hwmgr->feature_mask &= ~ (PP_VBI_TIME_SUPPORT_MASK |
PP_ENABLE_GFX_CG_THRU_SMU); PP_ENABLE_GFX_CG_THRU_SMU);
hwmgr->pp_table_version = PP_TABLE_V0; hwmgr->pp_table_version = PP_TABLE_V0;
hwmgr->od_enabled = false;
break; break;
case CHIP_TONGA: case CHIP_TONGA:
hwmgr->smumgr_funcs = &tonga_smu_funcs; hwmgr->smumgr_funcs = &tonga_smu_funcs;
...@@ -218,6 +221,7 @@ int hwmgr_early_init(struct pp_instance *handle) ...@@ -218,6 +221,7 @@ int hwmgr_early_init(struct pp_instance *handle)
case AMDGPU_FAMILY_RV: case AMDGPU_FAMILY_RV:
switch (hwmgr->chip_id) { switch (hwmgr->chip_id) {
case CHIP_RAVEN: case CHIP_RAVEN:
hwmgr->od_enabled = false;
hwmgr->smumgr_funcs = &rv_smu_funcs; hwmgr->smumgr_funcs = &rv_smu_funcs;
rv_init_function_pointers(hwmgr); rv_init_function_pointers(hwmgr);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment