mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 20:02:10 -04:00
drm/amd/display: Check we got a stream in update_info_frame
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -837,6 +837,11 @@ static enum dc_status bios_parser_crtc_source_select(
|
||||
|
||||
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))
|
||||
pipe_ctx->stream_enc->funcs->update_hdmi_info_packets(
|
||||
pipe_ctx->stream_enc,
|
||||
|
||||
Reference in New Issue
Block a user