Commit 78ea008b authored by Dmytro Laktyushkin's avatar Dmytro Laktyushkin Committed by Alex Deucher
Browse files

drm/amd/display: remove unnecessary assert

parent 44ce0cd3
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1633,7 +1633,6 @@ bool dcn20_split_stream_for_odm(
	next_odm_pipe->stream_res.dsc = NULL;
#endif
	if (prev_odm_pipe->next_odm_pipe && prev_odm_pipe->next_odm_pipe != next_odm_pipe) {
		ASSERT(!next_odm_pipe->next_odm_pipe);
		next_odm_pipe->next_odm_pipe = prev_odm_pipe->next_odm_pipe;
		next_odm_pipe->next_odm_pipe->prev_odm_pipe = next_odm_pipe;
	}
@@ -2398,8 +2397,8 @@ int dcn20_validate_apply_pipe_split_flags(
			split[i] = true;
			context->bw_ctx.dml.vba.ODMCombineEnablePerState[vlevel][pipe_idx] = true;
		}
		context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]
			= context->bw_ctx.dml.vba.ODMCombineEnablePerState[vlevel][pipe_idx];
		context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx] =
			context->bw_ctx.dml.vba.ODMCombineEnablePerState[vlevel][pipe_idx];
		/* Adjust dppclk when split is forced, do not bother with dispclk */
		if (split[i] && context->bw_ctx.dml.vba.NoOfDPP[vlevel][context->bw_ctx.dml.vba.maxMpcComb][pipe_idx] == 1)
			context->bw_ctx.dml.vba.RequiredDPPCLK[vlevel][context->bw_ctx.dml.vba.maxMpcComb][pipe_idx] /= 2;