Commit 94b1c9c7 authored by Wyatt Wood's avatar Wyatt Wood Committed by Alex Deucher

drm/amd/display: Initialize GSP1 SDP header

[Why + How]
Initialize GSP1 SDP header for use in DMCUB FW.
Reviewed-by: default avatarAnthony Koo <Anthony.Koo@amd.com>
Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: default avatarWyatt Wood <wyatt.wood@amd.com>
Tested-by: default avatarDaniel Wheeler <Daniel.Wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9b2fdc33
...@@ -726,6 +726,16 @@ void enc1_stream_encoder_update_dp_info_packets( ...@@ -726,6 +726,16 @@ void enc1_stream_encoder_update_dp_info_packets(
0, /* packetIndex */ 0, /* packetIndex */
&info_frame->vsc); &info_frame->vsc);
/* VSC SDP at packetIndex 1 is used by PSR in DMCUB FW.
* Note that the enablement of GSP1 is not done below,
* it's done in FW.
*/
if (info_frame->vsc.valid)
enc1_update_generic_info_packet(
enc1,
1, /* packetIndex */
&info_frame->vsc);
if (info_frame->spd.valid) if (info_frame->spd.valid)
enc1_update_generic_info_packet( enc1_update_generic_info_packet(
enc1, enc1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment