drm/amd/display: Program vsc_infopacket in commit_planes_for_stream

Signed-off-by: Alvin lee <alvin.lee3@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alvin lee 2018-06-08 13:58:36 -04:00 committed by Alex Deucher
parent 1336926f43
commit 0e4af5f367
2 changed files with 3 additions and 1 deletions

View file

@ -1385,7 +1385,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);
}

View file

@ -129,6 +129,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;
};