WFD video playback scenario in downscale mode.

In case of downscale usecase, correct params are
not getting set for external/virtual.
This was due to missing function call
calcExtDisplayPosition in configureLowRes
for RGB layers.

Change-Id: I47fe556d84eef15827e6e5733359654f8970e406
Crs-Fixed: 565655
Disable Mixed mode for External

Disable Mixed mode for external only in the case
involving alpha scaling due to limitation of VG scaling
MDP4_OP_SCALEY_PIXEL_RPT algo to upscale RGB layer

Change-Id: Ic074c712b657bf0be6ba2262b08e315e33dd76c7
Crs-Fixed: 567571
Merge branch 'kk_2.7_rb1.10' of git://codeaurora.org/platform/hardware/qcom/display into cm-11.0

Change-Id: I69701b4e020998eddde9f19be384a2ea50bc6ef3
gralloc: Perform function to return custom stride

The custom stride can be set by video for smooth streaming.
Return this in perform so that graphics can use it.

Bug: 10192531
Change-Id: I798fc0894b8d9662e93769a53a540cb61b527a44
hwc: Enable rotator during resolution change.

MDP VG pipe framesize register is not double bufferred.
It introduces corrupted frame during resolution change especially when
rotator is not used. Enable rotator to handle the transition case.

Change-Id: Ifec55fee0c762dfb12a09580b80dca6f051a1c86
Acked-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
hwc: Disable idle invalidation for command mode panels

Command mode panels have an internal framebuffer with which they
refresh, hence the idle invalidator isn't needed for them.

Change-Id: I6acf0cc1f8c520cbcf706f109a42e47304c534d3