msm8974: oppo: Enable display partial update feature

 * Need to set the proper alignment and fix userspace parsing of
   panel attributes to get this working.
 * Enable for both JDI and Truly variants to save power.

Change-Id: I3c528c5c59029e500856979a3208d2fb8f039fa8

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm8974: Fix a screen corruption issue

 * Diogo noticed that Facebook's popups were leaving artifacts
   when you moved them around.
 * Adjust the partial-update ROI alignment to compensate for
   this case.

Change-Id: I2f57b0b17596dabdae89b173e0b932959ceb1db4
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "Revert "msm: mdss: for for some reason something is funky when merging https://github.com/CyanogenMod/android_kernel_oneplus_msm8974/commit/7fb852915e2d430de04d95a20d48c9e56ea011b9 it seems like the userspace/firmware might not be updated and the framebuffer gets stuck after the Kernel boots, so for now we need to comment this piece of code that calls an undeclared variable.""

This reverts commit d65942fb8a1dad44589cef163c8b9d467dcd1244.
Revert "Revert "Revert "msm: display: Add pipe type selection in overlay request"""

This reverts commit 9208c7096a26cb2e54064ccc3294f0d83a0c6be7.