Commit 4189f293 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: fix the clock source contruct for dcn315

[why]
Driver sends invalid deep color ratio to DMUB. Update it to the right
one by using another clock source construct.
Reviewed-by: default avatarHansen Dsouza <hansen.dsouza@amd.com>
Acked-by: default avatarAlan Liu <HaoPing.Liu@amd.com>
Signed-off-by: default avatarCharlene Liu <charlene.liu@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4984e3aa
...@@ -1760,7 +1760,7 @@ static struct clock_source *dcn31_clock_source_create( ...@@ -1760,7 +1760,7 @@ static struct clock_source *dcn31_clock_source_create(
if (!clk_src) if (!clk_src)
return NULL; 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)) { regs, &cs_shift, &cs_mask)) {
clk_src->base.dp_clk_src = dp_clk_src; clk_src->base.dp_clk_src = dp_clk_src;
return &clk_src->base; 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