mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Dmytro Laktyushkin dd8d1b49c0 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>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-17 16:29:23 -04:00
..
amdgpu_dm drm/amdgpu/display: hook renoir dc to pplib funcs 2019-10-15 15:51:18 -04:00
dc drm/amd/display: update odm mode validation to be in line with policy 2019-10-17 16:29:23 -04:00
include drm/amd/display: add new active dongle to existent w/a 2019-10-10 19:33:37 -05:00
modules drm/amd/display: Add capability check for static ramp calc 2019-10-10 19:34:20 -05:00
Kconfig drm/amd: Fix Kconfig indentation 2019-10-07 15:11:17 -05:00
Makefile drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00