From: "Leo (Hanghong) Ma" <hanghong...@amd.com> [Why] We find some of the driver sequence debug trace for infoframe update is missing so add it.
[How] Add the missing sequence debug trace for infoframe update. Reviewed-by: Martin Leung <martin.le...@amd.com> Acked-by: Stylon Wang <stylon.w...@amd.com> Signed-off-by: Leo (Hanghong) Ma <hanghong...@amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 417c31f51562..1d9404ff29ed 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -2720,6 +2720,9 @@ static void commit_planes_do_stream_update(struct dc *dc, stream_update->vsp_infopacket) { resource_build_info_frame(pipe_ctx); dc->hwss.update_info_frame(pipe_ctx); + + if (dc_is_dp_signal(pipe_ctx->stream->signal)) + dp_source_sequence_trace(pipe_ctx->stream->link, DPCD_SOURCE_SEQ_AFTER_UPDATE_INFO_FRAME); } if (stream_update->hdr_static_metadata && -- 2.34.1