msm: mdss: add support to validate pixel extension calculations

If a layer needs a scaling than its pixel extension values are calculated
in the user-space library and passed down to driver. Currently driver
blindly programs these settings to HW without validating for correctness.
This leads to HW hangs and stability issues. Add a proper sanitization
checks for pixel extension and report error back to user-space if any.

Change-Id: I086cf0b23fbccd37a23bb509f067bffdf396c247
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>

msm: mdss: fix bug for validating pixel extension calculations

While validating pixel extension calculations from user space,
validate the over fetch pixels with image dimentions in both
horizontal and vertical directions.

Change-Id: I8e39e89d9ace8e26237b3b23ca375456abd804a1
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
msm8974: Update defconfigs for Bacon/Find7

 * Reenable a couple of things we need.

Change-Id: I04a3d6f84aa8d9cc50e055d94a8c7fc70cb98ed2
Revert "msm: mdss: send DCS commands in LP mode by default"

This reverts commit b1824982f98457af6e0543433c8c4a69f7f34d4e.

Change-Id: I961f2ad08c852bba1b2bde6278fdebb2d4d34e44
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_kernel_oneplus_msm8974 into kk_mkt