Skip to content

Commit ee5dc62

Browse files
Naveed Ashfaqalexdeucher
authored andcommitted
drm/amd/display: Improve compatibility by re-ordering info-packets
[why] On DCN20, Some features would not be activated when ALLM was turned on. TV seemed to activate only the latest info packet sent, and the ALLM info packet was sent after the VSIF info packet. The packet indices was also inconsistent between DCN10 and DCN20. [how] Change the packet indices of DCN20 to match those of DCN10. This makes them consistent and also makes the vendor info packet be sent after the hfvsif info packet. Signed-off-by: Naveed Ashfaq <[email protected]> Reviewed-by: Anthony Koo <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 940c527 commit ee5dc62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ static void enc2_stream_encoder_update_hdmi_info_packets(
152152

153153
/*Always add mandatory packets first followed by optional ones*/
154154
enc2_update_hdmi_info_packet(enc1, 0, &info_frame->avi);
155-
enc2_update_hdmi_info_packet(enc1, 5, &info_frame->hfvsif);
155+
enc2_update_hdmi_info_packet(enc1, 1, &info_frame->hfvsif);
156156
enc2_update_hdmi_info_packet(enc1, 2, &info_frame->gamut);
157-
enc2_update_hdmi_info_packet(enc1, 1, &info_frame->vendor);
158-
enc2_update_hdmi_info_packet(enc1, 3, &info_frame->spd);
159-
enc2_update_hdmi_info_packet(enc1, 4, &info_frame->hdrsmd);
157+
enc2_update_hdmi_info_packet(enc1, 3, &info_frame->vendor);
158+
enc2_update_hdmi_info_packet(enc1, 4, &info_frame->spd);
159+
enc2_update_hdmi_info_packet(enc1, 5, &info_frame->hdrsmd);
160160
}
161161

162162
static void enc2_stream_encoder_stop_hdmi_info_packets(

0 commit comments

Comments
 (0)