From: David (Dingchen) Zhang Date: Thu, 31 Oct 2019 18:36:51 +0000 (-0400) Subject: drm/amd/display: add debugfs sdp hook up function for Navi X-Git-Tag: v5.6-rc1~34^2~25^2~236 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=9185e8adb4cc9aa628a2c9b47b43d193cf268ee5;p=linux-2.6-block.git drm/amd/display: add debugfs sdp hook up function for Navi [why] need to send immediate SDP message via debugfs on Navi board. [how] hook up the DCN1x encoder function of sending immediate sdp message to DCN2. Signed-off-by: David (Dingchen) Zhang Reviewed-by: Harry Wentland Acked-by: Rodrigo Siqueira Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c index 33cc40fb9687..be0978401476 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_stream_encoder.c @@ -561,6 +561,8 @@ static const struct stream_encoder_funcs dcn20_str_enc_funcs = { enc2_stream_encoder_stop_hdmi_info_packets, .update_dp_info_packets = enc2_stream_encoder_update_dp_info_packets, + .send_immediate_sdp_message = + enc1_stream_encoder_send_immediate_sdp_message, .stop_dp_info_packets = enc1_stream_encoder_stop_dp_info_packets, .dp_blank =