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

!12617 drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'

parents d9d4eb85 43dc5626
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2877,8 +2877,10 @@ static bool planes_changed_for_existing_stream(struct dc_state *context,
		}
	}

	if (!stream_status)
	if (!stream_status) {
		ASSERT(0);
		return false;
	}

	for (i = 0; i < set_count; i++)
		if (set[i].stream == stream)