]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fb4f0993729fa94fa8380c918a74f732561d10f
tree2856f85b702e322acdea219e1c5cf2af9feb59fc
parent873df96ce12a0a7d7b481a1cbfb186c55d2e47fa
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