drm/amd/display: Halve DTB Clock Value for DCN32
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Tue, 19 Apr 2022 19:49:48 +0000 (15:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:45:00 +0000 (16:45 -0400)
commit2388a778bdacad0c936dbb01048362864847f8ad
tree9c02430ce1df06cad38d851e02342777a278e3ad
parent3ccb9ea9976022034d8fffd8d929d6e70a24e0c6
drm/amd/display: Halve DTB Clock Value for DCN32

VBIOS default clock value was halved, so the hardcoded dtb value should be
halved as well.

dtb clock should come from SMU eventually, but now dtb clock switching is not
fully supported yet in SMU.

Halve the dtb hardcoded value for now to have UHBR10 light up. Will rely on
SMU for dtb clock switching once available. The w/a is for DCN32 only, DCN321
should adopt the original value.

Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c