]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/amd/display: expose dentist_get_did_from_divider
authorCharlene Liu <charlene.liu@amd.com>
Tue, 28 May 2019 23:44:32 +0000 (19:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:14 +0000 (09:34 -0500)
for future use

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/clk_mgr/dcn20/dcn20_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.h

index 445bbc3bea0eb08d91a01f1dcaae79e2500b431b..df59cb7597a519cc0ac59dc639fd5cbd8a70e072 100644 (file)
@@ -70,7 +70,7 @@ static const struct clk_mgr_mask clk_mgr_mask = {
        CLK_MASK_SH_LIST_NV10(_MASK)
 };
 
-static uint32_t dentist_get_did_from_divider(int divider)
+uint32_t dentist_get_did_from_divider(int divider)
 {
        uint32_t divider_id;
 
index a44afc0625c5e9d2cf142538eee284b906071689..5661a5a89847ca5480b259828f4ff8463a5e71af 100644 (file)
@@ -43,4 +43,6 @@ void dcn20_clk_mgr_construct(struct dc_context *ctx,
                struct pp_smu_funcs *pp_smu,
                struct dccg *dccg);
 
+uint32_t dentist_get_did_from_divider(int divider);
+
 #endif //__DCN20_CLK_MGR_H__