Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 096480ea authored by Yongqiang Sun's avatar Yongqiang Sun Committed by Alex Deucher
Browse files

drm/amd/display: Remove unnecessary wait mpcc idle.



Before power gate plane, mpcc idle wait is processed,
no need to wait another time.

Signed-off-by: default avatarYongqiang Sun <yongqiang.sun@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 ebe0dce6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1178,12 +1178,6 @@ static void commit_planes_for_stream(struct dc *dc,
	if (update_type == UPDATE_TYPE_FULL) {
		dc->hwss.set_bandwidth(dc, context, false);
		context_clock_trace(dc, context);

		for (j = 0; j < dc->res_pool->pipe_count; j++) {
			struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];

			dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, pipe_ctx);
		}
	}

	if (surface_count == 0) {