drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)
authorRoman Li <Roman.Li@amd.com>
Tue, 27 Nov 2018 22:16:37 +0000 (17:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Nov 2018 19:36:03 +0000 (14:36 -0500)
commitc6888879fd55b1ba903c2a770127edbf6aef6f27
treeb81433ac322c8578417da74acec1b28e0c722777
parent49f1c44b581b08e3289127ffe58bd208c3166701
drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)

[Why]
More than 4x4K didn't lightup on Vega20 due to low dcfclk value.
Powerplay expects valid min requirement for dcfclk from DC.

[How]
Update min_dcfclock_khz based on min_engine_clock value.

v2: backport to 4.20 (Alex)

Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c