drm/amd/display: Use correct clock source constructor for DCN314
authorMichael Strauss <michael.strauss@amd.com>
Thu, 9 Jun 2022 14:48:43 +0000 (10:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:16:51 +0000 (17:16 -0400)
[WHY]
Previously was pointing to DCN3 clock constructor rather than DCN31's

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c

index 56ada09..b5672fb 100644 (file)
@@ -1782,7 +1782,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;