msm: mdss: Acquire lock for source format b/w line and block mode

Currently there is a page fault and flicker while programming
DMA pipe registers in Line mode. To prevent this acquire wb_lock
between writeback kickoff (N-Cycle) and rotator setup(N+1 Cycle).
wb_lock avoid rotator to update the pipe structure before writeback
is finished programming to the hardware.

Change-Id: I589032831ec1813f12ce3f91e3aa8a6b187ebfdd
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
4 files changed