drm/amd/display: Create clock funcs
authorEryk Brol <eryk.brol@amd.com>
Wed, 13 Mar 2019 15:51:15 +0000 (11:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:41:57 +0000 (22:41 -0500)
Create dccg_init and init_clocks for future use

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h
drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h

index 23a4b18e5feee64ca0b0d7a1a2f311eae3575ab3..31bd6d5183ab7c5126c27b0ae872820641aa4f92 100644 (file)
@@ -42,6 +42,8 @@ struct clk_mgr_funcs {
                        bool safe_to_lower);
 
        int (*get_dp_ref_clk_frequency)(struct clk_mgr *clk_mgr);
+
+       void (*init_clocks)(struct clk_mgr *clk_mgr);
 };
 
 #endif /* __DAL_CLK_MGR_H__ */
index 0ae6bf60a53cb5481873c7e84d15b413be3b3947..05ee5295d2c15935f2cef0f9f3cb292c98db2445 100644 (file)
@@ -42,6 +42,7 @@ struct dccg_funcs {
        void (*get_dccg_ref_freq)(struct dccg *dccg,
                        unsigned int xtalin_freq_inKhz,
                        unsigned int *dccg_ref_freq_inKhz);
+       void (*dccg_init)(struct dccg *dccg);
 };
 
 #endif //__DAL_DCCG_H__