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

!14679 drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe

parents bb32e208 6238de90
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1601,9 +1601,9 @@ static void dcn20_program_pipe(
			dc->res_pool->hubbub->funcs->force_wm_propagate_to_pipes(dc->res_pool->hubbub);
	}

	if (pipe_ctx->update_flags.raw ||
		(pipe_ctx->plane_state && pipe_ctx->plane_state->update_flags.raw) ||
		pipe_ctx->stream->update_flags.raw)
	if (pipe_ctx->plane_state && (pipe_ctx->update_flags.raw ||
	    pipe_ctx->plane_state->update_flags.raw ||
	    pipe_ctx->stream->update_flags.raw))
		dcn20_update_dchubp_dpp(dc, pipe_ctx, context);

	if (pipe_ctx->plane_state && (pipe_ctx->update_flags.bits.enable ||