Revert "Revert "msm: mdss: push wait for fences and ping pong done as late as possible""

This reverts commit 53c2b788a66f2acb6f5e8113734c1f2593a54169.

Change-Id: I0471c41726c84743565c48b440086b5d8cd8d293
msm: mdss: clean up overlay resources properly when display is off

When display is turned off, the clocks are already turned off and
unprepared.  Earlier, when unsetting the overlay resource, we were
trying to re-enable the unprepared clocks.

Change-Id: I36e79e4a0bdbbe35f4474527a09a4da59cbec96c
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
Merge "Revert "Revert "msm: mdss: push wait for fences and ping pong done as late as possible""" into cm-11.0
Merge "msm: mdss: clean up overlay resources properly when display is off" into cm-11.0