drm/amd/display: use min disp and dpp clk debug option for dcn2
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 2 Jul 2019 18:51:01 +0000 (14:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:27:25 +0000 (14:27 -0500)
commite9bcc1e03048b3872df46cc6ee28d5c43850e379
tree492bb2f61c2d70ff23ca7b6d4e9d98bd461bcf0d
parent39bca3599aab8edbc4a6c6d10fc76b1a932e5dfa
drm/amd/display: use min disp and dpp clk debug option for dcn2

This allows to set a minimum display and dpp clock on dcn2+ HW
by adjusting clocks used for dml calculations.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c