]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Use DCE 6 link encoder for DCE 6 analog connectors
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 26 Jan 2026 21:08:24 +0000 (22:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2026 23:01:37 +0000 (15:01 -0800)
[ Upstream commit 2de34fbcab2063cd3d52e5872a801b9a5fc755d0 ]

DCE 6 should use the DCE 6 specific link encoder.
This was a copy paste mistake.

Fixes: 0fbe321a93ce ("drm/amd/display: Implement DCE analog link encoders (v2)")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c

index f0152933bee2c09859b45ba4b15ebd9d0e8d78d0..068fb1df8d8893bafa4bd0e8e738ae5e1f222f52 100644 (file)
@@ -734,7 +734,7 @@ static struct link_encoder *dce60_link_encoder_create(
                return NULL;
 
        if (enc_init_data->connector.id == CONNECTOR_ID_VGA) {
-               dce110_link_encoder_construct(enc110,
+               dce60_link_encoder_construct(enc110,
                        enc_init_data,
                        &link_enc_feature,
                        &link_enc_regs[ENGINE_ID_DACA],