Commit 0e4af5f3 authored by Alvin lee's avatar Alvin lee Committed by Alex Deucher

drm/amd/display: Program vsc_infopacket in commit_planes_for_stream

Signed-off-by: default avatarAlvin lee <alvin.lee3@amd.com>
Reviewed-by: default avatarJun Lei <Jun.Lei@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1336926f
...@@ -1385,7 +1385,8 @@ static void commit_planes_do_stream_update(struct dc *dc, ...@@ -1385,7 +1385,8 @@ static void commit_planes_do_stream_update(struct dc *dc,
} }
if (stream_update->hdr_static_metadata || if (stream_update->hdr_static_metadata ||
stream_update->vrr_infopacket) { stream_update->vrr_infopacket ||
stream_update->vsc_infopacket) {
resource_build_info_frame(pipe_ctx); resource_build_info_frame(pipe_ctx);
dc->hwss.update_info_frame(pipe_ctx); dc->hwss.update_info_frame(pipe_ctx);
} }
......
...@@ -129,6 +129,7 @@ struct dc_stream_update { ...@@ -129,6 +129,7 @@ struct dc_stream_update {
unsigned long long *periodic_fn_vsync_delta; unsigned long long *periodic_fn_vsync_delta;
struct dc_crtc_timing_adjust *adjust; struct dc_crtc_timing_adjust *adjust;
struct dc_info_packet *vrr_infopacket; struct dc_info_packet *vrr_infopacket;
struct dc_info_packet *vsc_infopacket;
bool *dpms_off; bool *dpms_off;
}; };
......
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