Commit 218987fd authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: use updated clock source init routine

[why]
Use correct clock source initialization routine for DCN32/321
Signed-off-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Acked-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1908a07c
......@@ -1090,7 +1090,7 @@ static struct clock_source *dcn32_clock_source_create(
if (!clk_src)
return NULL;
if (dcn3_clk_src_construct(clk_src, ctx, bios, id,
if (dcn31_clk_src_construct(clk_src, ctx, bios, id,
regs, &cs_shift, &cs_mask)) {
clk_src->base.dp_clk_src = dp_clk_src;
return &clk_src->base;
......
......@@ -1088,7 +1088,7 @@ static struct clock_source *dcn321_clock_source_create(
if (!clk_src)
return NULL;
if (dcn3_clk_src_construct(clk_src, ctx, bios, id,
if (dcn31_clk_src_construct(clk_src, ctx, bios, id,
regs, &cs_shift, &cs_mask)) {
clk_src->base.dp_clk_src = dp_clk_src;
return &clk_src->base;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment