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

!13056 [sync] PR-13015: drm/amd/display: Check stream before comparing them

parents e3398698 0654ab0b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1694,6 +1694,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;