drm/amd/display: Remove second initialization of pp_smu
authorAlvin Lee <alvin.lee2@amd.com>
Fri, 21 Jun 2019 21:58:41 +0000 (17:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:10 +0000 (14:18 -0500)
[why]
We initialize pp_smu twice

[how]
Remove second initialization of pp_smu

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jaehyun Chung <Jaehyun.Chung@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c

index 4842c91771d8057664236833b4135e9fab47e30f..e9a7a7af11dfbcc4389013a197d68ab352e2e072 100644 (file)
@@ -346,8 +346,6 @@ void dcn20_clk_mgr_construct(
 
        clk_mgr->base.dprefclk_khz = 700000; // 700 MHz planned if VCO is 3.85 GHz, will be retrieved
 
-       clk_mgr->pp_smu = pp_smu;
-
        if (IS_FPGA_MAXIMUS_DC(ctx->dce_environment)) {
                dcn2_funcs.update_clocks = dcn2_update_clocks_fpga;
                clk_mgr->dentist_vco_freq_khz = 3850000;