提交 0e4af5f3 编写于 作者: A Alvin lee 提交者: Alex Deucher

drm/amd/display: Program vsc_infopacket in commit_planes_for_stream

Signed-off-by: NAlvin lee <alvin.lee3@amd.com>
Reviewed-by: NJun Lei <Jun.Lei@amd.com>
Acked-by: NHarry Wentland <harry.wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册