linux/drivers/gpu/drm/amd/display/dc/dml
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
..
dcn20 drm/amd/display: update odm mode validation to be in line with policy 2019-10-03 09:10:57 -05:00
dcn21 drm/amd/display: Add Renoir DML 2019-08-29 15:52:33 -05:00
dc_features.h drm/amd/display: Restructuring and cleaning up DML 2017-10-21 16:45:24 -04:00
display_mode_enums.h drm/amd/display: Update DML parameters 2019-08-15 10:55:17 -05:00
display_mode_lib.c drm/amd/display: Add DCN2.1 changes to DML 2019-08-29 15:52:34 -05:00
display_mode_lib.h drm/amd/display: Add Renoir DML 2019-08-29 15:52:33 -05:00
display_mode_structs.h drm/amd/display: Update DML parameters 2019-08-15 10:55:17 -05:00
display_mode_vba.c drm/amd/display: set Hratio and VRatio in dml 2019-08-23 11:37:39 -05:00
display_mode_vba.h drm/amd/display: Fix type of ODMCombineType field 2019-08-15 10:56:01 -05:00
display_rq_dlg_helpers.c drm/amd/display: clean up dml_init_instance 2019-03-19 15:36:49 -05:00
display_rq_dlg_helpers.h drm/amd/display: Restructuring and cleaning up DML 2017-10-21 16:45:24 -04:00
dml1_display_rq_dlg_calc.c drm/amd/display: replace FIXME with TODO 2019-09-13 18:03:34 -05:00
dml1_display_rq_dlg_calc.h drm/amd/display: dc: Remove unused display_mode_vba.c 2018-02-19 14:18:32 -05:00
dml_common_defs.c amdgpu/dc: inline dml_round_to_multiple 2017-10-21 16:53:03 -04:00
dml_common_defs.h drm/amd/display: Move DTRACE and dml_print defines 2018-03-14 15:08:45 -05:00
dml_inline_defs.h drm/amd/display: add some math functions for dcn_calc_math 2019-06-11 12:49:21 -05:00
dml_logger.h drm/amd/display: Use MACROS instead of dm_logger 2018-03-14 15:08:45 -05:00
Makefile drm/amd/display: Add DCN2.1 changes to DML 2019-08-29 15:52:34 -05:00