linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
bios drm/amd/display: Handle Renoir in DC 2019-08-29 15:52:33 -05:00
calcs drm/amd/display: Implement voltage limitation for dali 2019-09-16 10:06:48 -05:00
clk_mgr drm/amd/display: Revert fixup DPP programming sequence 2019-10-03 09:10:51 -05:00
core drm/amd/display: Optimize clocks on clock change 2019-10-03 09:10:57 -05:00
dce drm/amd/display: rename variable eanble -> enable 2019-09-16 10:42:55 -05:00
dce80 drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dce100 drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dce110 drm/amd/display: Expose OTG_V_TOTAL_MID for HW Diags 2019-08-23 11:43:42 -05:00
dce112 drm/amd/display: dce11.x /dce12 update formula input 2019-09-13 18:03:21 -05:00
dce120 drm/amd/display: dce11.x /dce12 update formula input 2019-09-13 18:03:21 -05:00
dcn10 drm/amd/display: Revert fixup DPP programming sequence 2019-10-03 09:10:51 -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 resource (v2) 2019-08-29 15:52:33 -05:00
dml drm/amd/display: update odm mode validation to be in line with policy 2019-10-03 09:10:57 -05:00
dsc drm/amd/display: Isolate DSC module from driver dependencies 2019-09-13 18:03:13 -05:00
gpio drm/amd/display: remove hw access from dc_destroy 2019-09-13 18:02:52 -05:00
inc drm/amd/display: Revert fixup DPP programming sequence 2019-10-03 09:10:51 -05:00
irq drm/amd/display: Add Renoir irq_services (v2) 2019-08-29 15:52:33 -05:00
virtual drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset 2019-08-15 10:52:59 -05:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dc_dp_types.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_dsc.h drm/amd/display: Isolate DSC module from driver dependencies 2019-09-13 18:03:13 -05:00
dc_helper.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
dc_hw_types.h drm/amd/display: Isolate DSC module from driver dependencies 2019-09-13 18:03:13 -05:00
dc_link.h drm/amd/display: Don't allocate payloads if link lost 2019-09-13 17:55:01 -05:00
dc_stream.h drm/amd/display: remove hw access from dc_destroy 2019-09-13 18:02:52 -05:00
dc_types.h drm/amd/display: Isolate DSC module from driver dependencies 2019-09-13 18:03:13 -05:00
dc.h drm/amd/display: Optimize clocks on clock change 2019-10-03 09:10:57 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Don't allocate payloads if link lost 2019-09-13 17:55:01 -05:00
dm_pp_smu.h drm/amd/display: Add pp_smu functions for Renoir 2019-08-29 15:52:33 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: refactor dump_clk_registers 2019-07-18 14:18:09 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: build dcn21 blocks 2019-08-29 15:52:33 -05:00
os_types.h drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00