msm: mdss: Validate ROI only when partial update is enabled

Validate frame's ROI against pipe parameter for scaled
destinations only when partial update feature is enabled.

Change-Id: I9e4ccb27ce5648baa4607c70fd375f69413b9d82
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
Jeykumar Sankaran 2014-11-04 18:28:22 -08:00 committed by David Keitel
parent 3bfef91a9d
commit 80d82787ba

View file

@ -1521,7 +1521,7 @@ int mdss_mdp_overlay_kickoff(struct msm_fb_data_type *mfd,
* to return an error and force fallback strategy. Instead change
* the ROI to be full screen and continue with the update.
*/
if (data) {
if (data && ctl->panel_data->panel_info.partial_update_enabled) {
struct mdss_rect ctl_roi;
struct mdp_rect *in_roi;
skip_partial_update = false;