Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

[why]
Use correct clock source initialization routine for DCN32/321

Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Charlene Liu and committed by
Alex Deucher
218987fd 1908a07c

+2 -2
+1 -1
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
··· 1090 1090 if (!clk_src) 1091 1091 return NULL; 1092 1092 1093 - if (dcn3_clk_src_construct(clk_src, ctx, bios, id, 1093 + if (dcn31_clk_src_construct(clk_src, ctx, bios, id, 1094 1094 regs, &cs_shift, &cs_mask)) { 1095 1095 clk_src->base.dp_clk_src = dp_clk_src; 1096 1096 return &clk_src->base;
+1 -1
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
··· 1088 1088 if (!clk_src) 1089 1089 return NULL; 1090 1090 1091 - if (dcn3_clk_src_construct(clk_src, ctx, bios, id, 1091 + if (dcn31_clk_src_construct(clk_src, ctx, bios, id, 1092 1092 regs, &cs_shift, &cs_mask)) { 1093 1093 clk_src->base.dp_clk_src = dp_clk_src; 1094 1094 return &clk_src->base;