drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct[Why]For DCE110, DCE112 and DCE120 the max_clks_by_state for the clk_mgr arecopied from their respective table before the call t
drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct[Why]For DCE110, DCE112 and DCE120 the max_clks_by_state for the clk_mgr arecopied from their respective table before the call todce_clk_mgr_construct, but then dce_clk_mgr_construct overwritesthese with the dce80_max_clks_by_state.[How]Copy these after we call dce_clk_mgr_construct so we're using theright tables.Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>Reviewed-by: David Francis <David.Francis@amd.com>Acked-by: Leo Li <sunpeng.li@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
drm/amd/display: Fix null-deref on vega20 with xgmi[Why]After clkmgr rework it gets initialized after resource pool.The clkmgr is used in resource pool init for xgmi path.That causes driver cras
drm/amd/display: Fix null-deref on vega20 with xgmi[Why]After clkmgr rework it gets initialized after resource pool.The clkmgr is used in resource pool init for xgmi path.That causes driver crash on Vega20 with xgmi due to NULL deref.[How]Move xgmi compensation code to dce121_clk_mgr_construct()That also allows to make dce121_clock_patch_xgmi_ss_info()internal static function.Signed-off-by: Roman Li <Roman.Li@amd.com>Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: move clk_mgr files to right place[Why]Better organization[How]Move clk_mgr files under dc/clk_mgrSigned-off-by: Eric Yang <Eric.Yang2@amd.com>Reviewed-by: Yongqiang Sun <yon
drm/amd/display: move clk_mgr files to right place[Why]Better organization[How]Move clk_mgr files under dc/clk_mgrSigned-off-by: Eric Yang <Eric.Yang2@amd.com>Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>Acked-by: Leo Li <sunpeng.li@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>