linux/drivers/gpu/drm/amd/display/dc/dml/dcn20
Dmytro Laktyushkin c84ad0d6b9 drm/amd/display: update odm mode validation to be in line with policy
Previously 8k30 worked with dsc and odm combine due to a workaround that ran
the formula a second time with dsc support enable should dsc validation fail.
This worked when clocks were low enough for formula to enable odm to lower
voltage, however now broke due to increased clocks.

This change updates the ODM combine policy within the formula to properly
reflect our current policy within DC, only enabling ODM when we have to, as
well as adding a check for viewport width when dsc is enabled.

As a side effect the redundant call to dml when odm is required is now
unnecessary.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-03 09:10:57 -05:00
..
display_mode_vba_20.c drm/amd/display: used optimum VSTARTUP instead of MaxVStartup 2019-06-22 09:34:12 -05:00
display_mode_vba_20.h
display_mode_vba_20v2.c drm/amd/display: update odm mode validation to be in line with policy 2019-10-03 09:10:57 -05:00
display_mode_vba_20v2.h drm/amd/display: support "dummy pstate" 2019-07-18 14:27:26 -05:00
display_rq_dlg_calc_20.c drm/amd/display: replace FIXME with TODO 2019-09-13 18:03:34 -05:00
display_rq_dlg_calc_20.h drm/amd/display: add some parameters to validate bandwidth functions 2019-06-22 09:34:13 -05:00
display_rq_dlg_calc_20v2.c drm/amd/display: replace FIXME with TODO 2019-09-13 18:03:34 -05:00
display_rq_dlg_calc_20v2.h drm/amd/display: support "dummy pstate" 2019-07-18 14:27:26 -05:00