diff options
author | Charlene Liu <[email protected]> | 2022-02-23 00:11:33 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-03-15 14:25:15 -0400 |
commit | 4189f2938d49d4d6b2e2191c86000c2e04ca7305 (patch) | |
tree | 27eba610d58a65d0a01789d06f816aeed90484df | |
parent | 4984e3aae6fa4f42fc24f2745b74509bf2cb0b03 (diff) |
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: Hansen Dsouza <[email protected]>
Acked-by: Alan Liu <[email protected]>
Signed-off-by: Charlene Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn315/dcn315_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn315/dcn315_resource.c b/drivers/gpu/drm/amd/display/dc/dcn315/dcn315_resource.c index 9a035e517ca9..d161b8197631 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn315/dcn315_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn315/dcn315_resource.c @@ -1760,7 +1760,7 @@ static struct clock_source *dcn31_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; |