Commit 86e2e1be authored by Hersen Wu's avatar Hersen Wu Committed by Alex Deucher

drm/amd/display: Check we got a stream in update_info_frame

Signed-off-by: default avatarHersen Wu <hersenxs.wu@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e4e354b0
...@@ -837,6 +837,11 @@ static enum dc_status bios_parser_crtc_source_select( ...@@ -837,6 +837,11 @@ static enum dc_status bios_parser_crtc_source_select(
void dce110_update_info_frame(struct pipe_ctx *pipe_ctx) void dce110_update_info_frame(struct pipe_ctx *pipe_ctx)
{ {
ASSERT(pipe_ctx->stream);
if (pipe_ctx->stream_enc == NULL)
return; /* this is not root pipe */
if (dc_is_hdmi_signal(pipe_ctx->stream->signal)) if (dc_is_hdmi_signal(pipe_ctx->stream->signal))
pipe_ctx->stream_enc->funcs->update_hdmi_info_packets( pipe_ctx->stream_enc->funcs->update_hdmi_info_packets(
pipe_ctx->stream_enc, pipe_ctx->stream_enc,
......
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