msm: mdss: Allow smp change during composition switch

The composition fallback mechanism might not ensure unsetting of
the pipe whose prepare call failed due to smp configuration change,
typically in the cases where change in composition requests same
pipe. This scenario is a deadlock where composition switch does
not happen, due to these pipe failures.

To handle such cases, for changed SMP request for a pipe doing
non backend composition, allow smp configuration to happen, so
that the composition could be successfully switched, thereby
preventing the deadlock.

Change-Id: I2d29ac6591671494abc7c4caf7c6c53f058d12f6
Signed-off-by: Justin Philip <jphili@codeaurora.org>
msm: mdss: ensure retire fences are signaled during panel off

When turning off command mode panel, if retire fences are still active
and suspend sequence goes through some fences may remain active.
If fences remain active command panel off sequence would stop signaling
vsyncs and would throw off the timeline. To fix this clear the retire
timeline when turning panel off.

Change-Id: I32a5fe0f81b16fa2ef959c7f05e484fb9f9f8598
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Merge "msm: mdss: ensure retire fences are signaled during panel off"
Merge "Merge "msm: mdss: ensure retire fences are signaled during panel off""
Merge "msm: mdss: Allow smp change during composition switch"
Merge "Merge "msm: mdss: Allow smp change during composition switch""
Merge 6ec071fa06b92f32d454b3b13fd0a007a38fa92d on remote branch

Change-Id: Idf95e267fe73fffaf8556e100e8dabad1657b460
Merge "Merge 6ec071fa06b92f32d454b3b13fd0a007a38fa92d on remote branch"