提交 9e23f192 编写于 作者: H Hawking Zhang 提交者: Alex Deucher

drm/amd/powerplay: bypass pptable process on raven

Signed-off-by: NHawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 efb792c4
...@@ -1563,6 +1563,9 @@ static int pp_tables_initialize(struct pp_hwmgr *hwmgr) ...@@ -1563,6 +1563,9 @@ static int pp_tables_initialize(struct pp_hwmgr *hwmgr)
int result; int result;
const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table; const ATOM_PPLIB_POWERPLAYTABLE *powerplay_table;
if (hwmgr->chip_id == CHIP_RAVEN)
return 0;
hwmgr->need_pp_table_upload = true; hwmgr->need_pp_table_upload = true;
powerplay_table = get_powerplay_table(hwmgr); powerplay_table = get_powerplay_table(hwmgr);
...@@ -1609,6 +1612,9 @@ static int pp_tables_initialize(struct pp_hwmgr *hwmgr) ...@@ -1609,6 +1612,9 @@ static int pp_tables_initialize(struct pp_hwmgr *hwmgr)
static int pp_tables_uninitialize(struct pp_hwmgr *hwmgr) static int pp_tables_uninitialize(struct pp_hwmgr *hwmgr)
{ {
if (hwmgr->chip_id == CHIP_RAVEN)
return 0;
if (NULL != hwmgr->dyn_state.vddc_dependency_on_sclk) { if (NULL != hwmgr->dyn_state.vddc_dependency_on_sclk) {
kfree(hwmgr->dyn_state.vddc_dependency_on_sclk); kfree(hwmgr->dyn_state.vddc_dependency_on_sclk);
hwmgr->dyn_state.vddc_dependency_on_sclk = NULL; hwmgr->dyn_state.vddc_dependency_on_sclk = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册