mirror of https://gitee.com/openkylin/linux.git
drm/amd/display: Create clock funcs
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>
This commit is contained in:
parent
bc07dfb366
commit
3a66541c63
|
@ -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__ */
|
||||
|
|
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue