mdp4 overlay: fixes, squashed, solid fill underrun, formats

* msm_fb: display: fix underrun seen due to scaling accuracy

When making scale phase step ratio calculation, accuracy is lost when
sizes are big since calculation is done in 32 bit and some truncation
happens; this leads to underrun in mdp hw since scaling ratio doesn't
match the src/dst rectangle. Increase accuracy by performing division
again on remainder and appending to lsb of ratio.

Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
(cherry picked from commit 1af8a35)

Change-Id: Ifb2166833db74ae3c37640e5efb9c7a2e0d88209
Signed-off-by: Zhoulu Luo <zluo@codeaurora.org>

* mdp4 overlay additional pixel formats introduced to handling

* msm_fb: display: disable mdp flip when enabling mdp solid fill

If both solid fill and flip mode are enabled, MDP underruns. So for
any pipe, if solid fill bit is set, flip operation modes including
left/right or/and up/done are disabled.

CRs-fixed: 334782
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
(cherry picked from commit 917ed68)

Change-Id: I479285e5036b05b1997e66592fe178803ad990ee
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
Signed-off-by: Darescu Ionut <johnny@esi.ro>

* msm_fb: display: disable mdp flip when enabling mdp solid fill

If both solid fill and flip mode are enabled, MDP underruns. So for
any pipe, if solid fill bit is set, flip operation modes including
left/right or/and up/done are disabled.

CRs-fixed: 334782
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
(cherry picked from commit 917ed68)

Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
Signed-off-by: Darescu Ionut <johnny@esi.ro>
Change-Id: I479285e5036b05b1997e66592fe178803ad990ee