drm/amd/display: add more support for UHBR10 eDP
authorLiu Xi (Alex) <xi.liu@amd.com>
Thu, 19 Sep 2024 19:10:15 +0000 (15:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:37:14 +0000 (17:37 -0400)
[Why and how]

The current UHBR10 eDP panel has new security feature update. Add support for the new FW

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Liu Xi (Alex) <xi.liu@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@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/dc.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c

index 51fdc00..8878a77 100644 (file)
@@ -1771,7 +1771,6 @@ struct dc_link {
                bool dongle_mode_timing_override;
                bool blank_stream_on_ocs_change;
                bool read_dpcd204h_on_irq_hpd;
-               bool disable_assr_for_uhbr;
        } wa_flags;
        struct link_mst_stream_allocation_table mst_stream_alloc_table;
 
index 3aa05a2..070b6c8 100644 (file)
@@ -1168,9 +1168,6 @@ static void edp_set_assr_enable(const struct dc *pDC, struct dc_link *link,
        link_enc_index = link->link_enc->transmitter - TRANSMITTER_UNIPHY_A;
 
        if (link_res->hpo_dp_link_enc) {
-               if (link->wa_flags.disable_assr_for_uhbr)
-                       return;
-
                link_enc_index = link_res->hpo_dp_link_enc->inst;
                use_hpo_dp_link_enc = true;
        }