]> www.infradead.org Git - nvme.git/commitdiff
drm/amd/display: Cleanup dce_get_dp_ref_freq_khz
authorDillon Varone <dillon.varone@amd.com>
Wed, 19 Jun 2024 14:05:12 +0000 (10:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:06:53 +0000 (16:06 -0400)
[WHY&HOW]
Cleanup unnecessary code pathes as compile guards were added and removed
overtime.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c

index 2a5dd3a296b203a390345ae0e2b948490de3ddc7..26feefbb8990ae52481fa6af7f044962d7ea60ba 100644 (file)
@@ -131,7 +131,7 @@ int dce_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
        struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);
        int dprefclk_wdivider;
        int dprefclk_src_sel;
-       int dp_ref_clk_khz = 600000;
+       int dp_ref_clk_khz;
        int target_div;
 
        /* ASSERT DP Reference Clock source is from DFS*/