drm/amd/display: Add check for forced_clocks debug option
authorCharlene Liu <Charlene.Liu@amd.com>
Thu, 16 Dec 2021 21:33:04 +0000 (16:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Jan 2022 22:21:45 +0000 (17:21 -0500)
commit46a74381e5ea54dc78ad7c29659dad0b1eb66b0d
tree2856f85b702e322acdea219e1c5cf2af9feb59fc
parent79d6b9351f086e0f914a26915d96ab52286ec46c
drm/amd/display: Add check for forced_clocks debug option

[why]
driver missed the check.

[how]
add the check.
add min display clock = 100mhz check based on dccg doc.

[note]
add SetPhyclkVoltageByFreq as confirmed with smu, but not enabled in
this change.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c