drm/amd/pp: Workaround flickering issue on RV
Subsystems (2)
PATCH 1/1 drm/amd/pp: Workaround flickering issue on RV
Screen flickering observed while running 1080p video using MPV_VAAPI/VDPAU with 4x4K@60 monitors
Need to set higher mclk in this configuration.
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c +3 -0
@@ -601,7 +601,10 @@ static int smu10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr, data->gfx_min_freq_limit/100);smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_SetHardMinFclkByFreq, + hwmgr->display_config->num_display >3 ? +SMU10_UMD_PSTATE_PEAK_FCLK :SMU10_UMD_PSTATE_MIN_FCLK ); +smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_SetHardMinSocclkByFreq,SMU10_UMD_PSTATE_MIN_SOCCLK );
Signature · 6 lines
1.9.1 _______________________________________________ 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): 1526285180-21850-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byQuoted 6 lines · Rex Zhu
Screen flickering observed while running 1080p video using MPV_VAAPI/VDPAU with 4x4K@60 monitors
Need to set higher mclk in this configuration.
Signed-off-by Rex Zhu <[email protected]>
Probably longer term we need some sort of bandwidth calculation.
Quoted 22 lines
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c +3
-1@@ -601,7 +601,10 @@ static int smu10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr, data->gfx_min_freq_limit/100);smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_SetHardMinFclkByFreq, + hwmgr->display_config->num_display >3 ? +SMU10_UMD_PSTATE_PEAK_FCLK :SMU10_UMD_PSTATE_MIN_FCLK ); +smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_SetHardMinSocclkByFreq,SMU10_UMD_PSTATE_MIN_SOCCLK ); --1.9.1
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
A message that is not in the archive (sent off-list or not yet received): CADnq5_PjUVUXztih-gO-g5pyNV=O1UK=hZpN6OjTKb8J2YKahA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Harry Wentland
Acked-byQuoted 10 lines · Alex Deucher
Quoted 6 lines · Rex Zhu
Screen flickering observed while running 1080p video using MPV_VAAPI/VDPAU with 4x4K@60 monitors
Need to set higher mclk in this configuration.
Signed-off-by Rex Zhu <[email protected]>Probably longer term we need some sort of bandwidth calculation.
Agreed. We've been looking into it.
Harry
Quoted 24 lines
Reviewed-by Alex Deucher <[email protected]>Quoted 22 lines
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c +3
-1@@ -601,7 +601,10 @@ static int smu10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr, data->gfx_min_freq_limit/100);smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_SetHardMinFclkByFreq, + hwmgr->display_config->num_display >3 ? +SMU10_UMD_PSTATE_PEAK_FCLK :SMU10_UMD_PSTATE_MIN_FCLK ); +smum_send_msg_to_smc_with_parameter (hwmgr, PPSMC_MSG_SetHardMinSocclkByFreq,SMU10_UMD_PSTATE_MIN_SOCCLK ); --1.9.1
Quoted 9 lines
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
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx