Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel"
PATCH 1/1 Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel"
The patch
commit a861736dae64 ("drm/amd/display: Fixed Intermittent blue screen on OLED panel")
causes power regression for many users. It seems that this change causes the MCLK to get forced high; this creates a regression for many users since their devices were not able to drop to a low state after this change. For this reason, this reverts commit a861736dae644a0d7abbca0c638ae6aad28feeb8.
--- .../amd/display/dc/dml/dcn20/display_mode_vba_20v2.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c +6 -5
@@ -2635,14 +2635,15 @@ static void dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndP }if (mode_lib->vba.DRAMClockChangeSupportsVActive && - mode_lib->vba.MinActiveDRAMClockChangeMargin >60 && - mode_lib->vba.PrefetchMode[mode_lib->vba.VoltageLevel][mode_lib->vba.maxMpcComb] ==0 ) { + mode_lib->vba.MinActiveDRAMClockChangeMargin >60 ) { mode_lib->vba.DRAMClockChangeWatermark +=25 ;for (k =0 ; k < mode_lib->vba.NumberOfActivePlanes; ++k) { -if (mode_lib->vba.DRAMClockChangeWatermark > -dml_max (mode_lib->vba.StutterEnterPlusExitWatermark, mode_lib->vba.UrgentWatermark)) - mode_lib->vba.MinTTUVBlank[k] +=25 ; +if (mode_lib->vba.PrefetchMode[mode_lib->vba.VoltageLevel][mode_lib->vba.maxMpcComb] ==0 ) { +if (mode_lib->vba.DRAMClockChangeWatermark > +dml_max (mode_lib->vba.StutterEnterPlusExitWatermark, mode_lib->vba.UrgentWatermark)) + mode_lib->vba.MinTTUVBlank[k] +=25 ; + } } mode_lib->vba.DRAMClockChangeSupport[0 ][0 ] = dm_dram_clock_change_vactive;
Signature · 6 lines
2.25.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 11 lines · Rodrigo Siqueira
The patch
commit
a861736dae64("drm/amd/display: Fixed Intermittent blue screen on OLED panel")causes power regression for many users. It seems that this change causes the MCLK to get forced high; this creates a regression for many users since their devices were not able to drop to a low state after this change. For this reason, this reverts commit
a861736dae644a0d7abbca0c638ae6aad28feeb8.
Quoted 8 lines
Cc Aurabindo Pillai <[email protected]>Cc Alex Deucher <[email protected]>Cc Harry Wentland <[email protected]>Cc Naveed Ashfaq <[email protected]>Cc Hersen Wu <[email protected]>Cc Roman Li <[email protected]>Signed-off-by Rodrigo Siqueira <[email protected]>
Quoted 32 lines
--- .../amd/display/dc/dml/dcn20/display_mode_vba_20v2.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c +6
-6@@ -2635,14 +2635,15 @@ static void dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndP }if (mode_lib->vba.DRAMClockChangeSupportsVActive && - mode_lib->vba.MinActiveDRAMClockChangeMargin >60 && - mode_lib->vba.PrefetchMode[mode_lib->vba.VoltageLevel][mode_lib->vba.maxMpcComb] ==0 ) { + mode_lib->vba.MinActiveDRAMClockChangeMargin >60 ) { mode_lib->vba.DRAMClockChangeWatermark +=25 ;for (k =0 ; k < mode_lib->vba.NumberOfActivePlanes; ++k) { -if (mode_lib->vba.DRAMClockChangeWatermark > -dml_max (mode_lib->vba.StutterEnterPlusExitWatermark, mode_lib->vba.UrgentWatermark)) - mode_lib->vba.MinTTUVBlank[k] +=25 ; +if (mode_lib->vba.PrefetchMode[mode_lib->vba.VoltageLevel][mode_lib->vba.maxMpcComb] ==0 ) { +if (mode_lib->vba.DRAMClockChangeWatermark > +dml_max (mode_lib->vba.StutterEnterPlusExitWatermark, mode_lib->vba.UrgentWatermark)) + mode_lib->vba.MinTTUVBlank[k] +=25 ; + } } mode_lib->vba.DRAMClockChangeSupport[0 ][0 ] = dm_dram_clock_change_vactive; --2.25.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