Skip to content

Commit bc7d1d2

Browse files
Timur Kristófgregkh
authored andcommitted
drm/amd/display: Don't overwrite dce60_clk_mgr
commit 4db9cd5 upstream. dc_clk_mgr_create accidentally overwrites the dce60_clk_mgr with the dce_clk_mgr, causing incorrect behaviour on DCE6. Fix it by removing the extra dce_clk_mgr_construct. Fixes: 62eab49 ("drm/amd/display: hide VGH asic specific structs") Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit bbddcbe) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 7133d48 commit bc7d1d2

File tree

1 file changed

+0
-1
lines changed
  • drivers/gpu/drm/amd/display/dc/clk_mgr

1 file changed

+0
-1
lines changed

drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ struct clk_mgr *dc_clk_mgr_create(struct dc_context *ctx, struct pp_smu_funcs *p
158158
return NULL;
159159
}
160160
dce60_clk_mgr_construct(ctx, clk_mgr);
161-
dce_clk_mgr_construct(ctx, clk_mgr);
162161
return &clk_mgr->base;
163162
}
164163
#endif

0 commit comments

Comments
 (0)