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

This commit is contained in:
qctecmdr
2020-04-16 15:32:21 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -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 */