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

Commit e661007b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: validate qseed3 configuration on each frame update"

parents 6b750167 9c6acc11
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3077,8 +3077,9 @@ static int _sde_plane_validate_scaler_v2(struct sde_plane *psde,
		return -EINVAL;
	}

	/* don't run checks unless scaler data was changed */
	if (pstate->scaler_check_state != SDE_PLANE_SCLCHECK_SCALER_V2_CHECK)
	if (psde->debugfs_default_scale ||
	   (pstate->scaler_check_state != SDE_PLANE_SCLCHECK_SCALER_V2 &&
	    pstate->scaler_check_state != SDE_PLANE_SCLCHECK_SCALER_V2_CHECK))
		return 0;

	pstate->scaler_check_state = SDE_PLANE_SCLCHECK_INVALID;