[PATCH] drm/amdgpu/display: fix clkmgr for SI
Alex Deucher
alexander.deucher at amd.com
Tue Mar 23 17:06:03 UTC 2021
It looks like the SI case was missed. Need to return
the clkmgr struct for SI.
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
index c81da30faf03..7d6c68c5dea9 100644
--- a/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
+++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
@@ -136,6 +136,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:
--
2.30.2
More information about the amd-gfx
mailing list