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

Commit a1143d12 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: sde: remove unnecessary DSPP HW resource check"

parents 265642fa 8f00f9a4
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -1699,11 +1699,6 @@ static int sde_cp_crtc_check_pu_features(struct drm_crtc *crtc)
			DRM_ERROR("invalid ctl in mixer %d\n", i);
			return -EINVAL;
		}

		if (!sde_crtc->mixers[i].hw_dspp) {
			DRM_ERROR("invalid dspp in mixer %d\n", i);
			return -EINVAL;
		}
	}

	/* early return when not a partial update frame */
@@ -1846,11 +1841,6 @@ static int sde_cp_crtc_set_pu_features(struct drm_crtc *crtc, bool *need_flush)
			DRM_ERROR("invalid ctl in mixer %d\n", i);
			return -EINVAL;
		}

		if (!sde_crtc->mixers[i].hw_dspp) {
			DRM_ERROR("invalid dspp in mixer %d\n", i);
			return -EINVAL;
		}
	}

	/* early return if not a partial update frame or no change in rois */