]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: update dcn315 clock table read
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 30 Mar 2022 20:05:50 +0000 (16:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Apr 2022 16:02:57 +0000 (12:02 -0400)
commit59907ce05aa38479c83389c5c00a11c8371aa401
tree67d777c207e45d073cc728930326440c4b4ad6fb
parent0dde772b2f406686be2f00f43beeed832a93516f
drm/amd/display: update dcn315 clock table read

[Why & How]
Make dcn315 base its clock table off dcfclk rather than fclk.

This change also adds some sanity checking to make sure an
empty pmfw table does not result in invalid dal clocks.

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c