Unverified Commit 1363f5ed authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12776 drm/amd/display: Check stream before comparing them

parents f096e117 342b3a63
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2154,6 +2154,8 @@ static bool are_stream_backends_same(
bool dc_is_stream_unchanged(
	struct dc_stream_state *old_stream, struct dc_stream_state *stream)
{
	if (!old_stream || !stream)
		return false;

	if (!are_stream_backends_same(old_stream, stream))
		return false;