]> 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 14:20:34 +0000 (10:20 -0400)
commit85f165d058e917cb12cc64fd7746929a97a13057
tree7f6ee9e1db73000444c4949d890fae3ab0873e02
parenta5d94fbebdad64e58e3c191542da16aa236ce01a
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