drm/amd/display: Add DPCS regs for dcn302 link encoder
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Wed, 18 Nov 2020 19:10:44 +0000 (14:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:03:04 +0000 (12:03 -0500)
dpcs reg are missing for dcn302 link encoder regs list, so add them.
Just like dcn3

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c

index 765002e..08ef142 100644 (file)
@@ -967,6 +967,7 @@ static const struct encoder_feature_support link_enc_feature = {
                [id] = {\
                                LE_DCN3_REG_LIST(id), \
                                UNIPHY_DCN2_REG_LIST(phyid), \
+                               DPCS_DCN2_REG_LIST(id), \
                                SRI(DP_DPHY_INTERNAL_CTRL, DP, id) \
                }