drm/amd/powerpaly: force to update all clock tables on OD reset
Subsystems (2)
PATCH 1/2 drm/amd/powerpaly: force to update all clock tables on OD reset
On OD reset, the clock tables in SMU need to be reset to default.
--- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +4 -0
@@ -5176,6 +5176,10 @@ static int vega10_odn_edit_dpm_table(struct pp_hwmgr *hwmgr,memcpy (&(data->dpm_table), &(data->golden_dpm_table),sizeof (struct vega10_dpm_table ));vega10_odn_initial_default_setting (hwmgr);vega10_odn_update_power_state (hwmgr); +/* force to update all clock tables */ + data->need_update_dpm_table =DPMTABLE_UPDATE_SCLK | +DPMTABLE_UPDATE_MCLK | +DPMTABLE_UPDATE_SOCCLK ;return 0 ; }else if (PP_OD_COMMIT_DPM_TABLE == type) {vega10_check_dpm_table_updated (hwmgr);
Signature · 6 lines
2.21.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/2 drm/amd/powerplay: update Vega10 ACG Avfs Gb parameters
Update Vega10 ACG Avfs GB parameters.
--- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +2 -2
@@ -2267,8 +2267,8 @@ static int vega10_populate_avfs_parameters(struct pp_hwmgr *hwmgr) pp_table->AcgAvfsGb.m1 = avfs_params.ulAcgGbFuseTableM1; pp_table->AcgAvfsGb.m2 = avfs_params.ulAcgGbFuseTableM2; pp_table->AcgAvfsGb.b = avfs_params.ulAcgGbFuseTableB; - pp_table->AcgAvfsGb.m1_shift =0 ; - pp_table->AcgAvfsGb.m2_shift =0 ; + pp_table->AcgAvfsGb.m1_shift =24 ; + pp_table->AcgAvfsGb.m2_shift =12 ; pp_table->AcgAvfsGb.b_shift =0 ; }else {
Signature · 6 lines
2.21.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Alex Deucher
Acked-byRe: [PATCH 2/2] drm/amd/powerplay: update Vega10 ACG Avfs Gb parameters
Quoted 5 lines · Evan Quan
Update Vega10 ACG Avfs GB parameters.
Change-Id Ic3d5b170b93a7a92949262323ca710dbf9ac49b4Signed-off-by Evan Quan <[email protected]>
Series is:
Quoted 22 lines
--- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +2
-3@@ -2267,8 +2267,8 @@ static int vega10_populate_avfs_parameters(struct pp_hwmgr *hwmgr) pp_table->AcgAvfsGb.m1 = avfs_params.ulAcgGbFuseTableM1; pp_table->AcgAvfsGb.m2 = avfs_params.ulAcgGbFuseTableM2; pp_table->AcgAvfsGb.b = avfs_params.ulAcgGbFuseTableB; - pp_table->AcgAvfsGb.m1_shift =0 ; - pp_table->AcgAvfsGb.m2_shift =0 ; + pp_table->AcgAvfsGb.m1_shift =24 ; + pp_table->AcgAvfsGb.m2_shift =12 ; pp_table->AcgAvfsGb.b_shift =0 ; }else { --2.21.0
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx