Commit 1b394e92 authored by Leo Li's avatar Leo Li Committed by Alex Deucher
Browse files

drm/amd/display: Disconnect DCN2 mpcc when changing tg



A previous fix was done for DCN1 that needed to be ported to DCN2:
commit 60c677534e73 ("drm/amd/display: Disconnect mpcc when changing tg")

Signed-off-by: default avatarLeo Li <sunpeng.li@amd.com>
Acked-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 38354495
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1323,7 +1323,8 @@ static void dcn20_apply_ctx_for_surface(
			}
		}

		if (!pipe_ctx->plane_state &&
		if ((!pipe_ctx->plane_state ||
		     pipe_ctx->stream_res.tg != old_pipe_ctx->stream_res.tg) &&
		     old_pipe_ctx->plane_state &&
		     old_pipe_ctx->stream_res.tg == tg) {