Merge "disp: msm: sde: remove unnecessary DSPP HW resource check"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
a1143d12be
@@ -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);
|
DRM_ERROR("invalid ctl in mixer %d\n", i);
|
||||||
return -EINVAL;
|
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 */
|
/* 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);
|
DRM_ERROR("invalid ctl in mixer %d\n", i);
|
||||||
return -EINVAL;
|
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 */
|
/* early return if not a partial update frame or no change in rois */
|
||||||
|
Reference in New Issue
Block a user