From: Alvin lee <alvin.lee3@xxxxxxx> Change-Id: I0867e7e8d85a64cf35d9de2c319699ae027091d2 Signed-off-by: Alvin lee <alvin.lee3 at amd.com> Reviewed-by: Jun Lei <Jun.Lei at amd.com> Acked-by: Harry Wentland <harry.wentland at amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc.c | 3 ++- drivers/gpu/drm/amd/display/dc/dc_stream.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index e855424ee575..ffd4a423d8ff 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1321,7 +1321,8 @@ static void commit_planes_do_stream_update(struct dc *dc, } if (stream_update->hdr_static_metadata || - stream_update->vrr_infopacket) { + stream_update->vrr_infopacket || + stream_update->vsc_infopacket) { resource_build_info_frame(pipe_ctx); dc->hwss.update_info_frame(pipe_ctx); } diff --git a/drivers/gpu/drm/amd/display/dc/dc_stream.h b/drivers/gpu/drm/amd/display/dc/dc_stream.h index bc496906b695..f0e8d19efa4a 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_stream.h +++ b/drivers/gpu/drm/amd/display/dc/dc_stream.h @@ -128,6 +128,7 @@ struct dc_stream_update { unsigned long long *periodic_fn_vsync_delta; struct dc_crtc_timing_adjust *adjust; struct dc_info_packet *vrr_infopacket; + struct dc_info_packet *vsc_infopacket; bool *dpms_off; }; -- 2.17.1