Skip to content

Commit

Permalink
drm/amdgpu/display: fix clkmgr for SI
Browse files Browse the repository at this point in the history
It looks like the SI case was missed.  Need to return
the clkmgr struct for SI.

Fixes: f4a5cbd ("drm/amd/display: hide VGH asic specific structs")
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Alex Deucher authored and Leslie Shi committed Mar 31, 2021
1 parent 0d15590 commit 3125000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ struct clk_mgr *dc_clk_mgr_create(struct dc_context *ctx, struct pp_smu_funcs *p
}
dce60_clk_mgr_construct(ctx, clk_mgr);
dce_clk_mgr_construct(ctx, clk_mgr);
return &clk_mgr->base;
}
#endif
case FAMILY_CI:
Expand Down

0 comments on commit 3125000

Please sign in to comment.