Commit 261f3924 authored by Nevenko Stupar's avatar Nevenko Stupar Committed by Alex Deucher

drm/amd/display: expose dentist_get_divider_from_did

expose this functions for future use.
Signed-off-by: default avatarNevenko Stupar <Nevenko.Stupar@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent eb9714a2
...@@ -94,7 +94,7 @@ static const struct state_dependent_clocks dce120_max_clks_by_state[] = { ...@@ -94,7 +94,7 @@ static const struct state_dependent_clocks dce120_max_clks_by_state[] = {
/*ClocksStatePerformance*/ /*ClocksStatePerformance*/
{ .display_clk_khz = 1133000, .pixel_clk_khz = 600000 } }; { .display_clk_khz = 1133000, .pixel_clk_khz = 600000 } };
static int dentist_get_divider_from_did(int did) int dentist_get_divider_from_did(int did)
{ {
if (did < DENTIST_BASE_DID_1) if (did < DENTIST_BASE_DID_1)
did = DENTIST_BASE_DID_1; did = DENTIST_BASE_DID_1;
......
...@@ -165,4 +165,6 @@ struct clk_mgr *dce120_clk_mgr_create(struct dc_context *ctx); ...@@ -165,4 +165,6 @@ struct clk_mgr *dce120_clk_mgr_create(struct dc_context *ctx);
void dce_clk_mgr_destroy(struct clk_mgr **clk_mgr); void dce_clk_mgr_destroy(struct clk_mgr **clk_mgr);
int dentist_get_divider_from_did(int did);
#endif /* _DCE_CLK_MGR_H_ */ #endif /* _DCE_CLK_MGR_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment