drm/msm/mdp4: request vblank during modeset
authorRob Clark <robdclark@gmail.com>
Mon, 4 Aug 2014 14:44:53 +0000 (10:44 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 26 Aug 2014 14:43:31 +0000 (10:43 -0400)
commit119ecb7fd3b5d072c2b29d4d030c623840554d71
tree114a0979696ab100ed503b1f0dff00ccf85a50cd
parent6814dbf9414818861cdc21ba1f9799eb2e339b07
drm/msm/mdp4: request vblank during modeset

This avoids a problem seen with weston (for example) where the display
gets stuck in "black screen" if starting weston first thing after boot.
Possibly mdp5 needs something similar.  The downstream android fbdev
driver always requests DMA_E (or DMA_P) when display is active, rather
than only enabling it on-demand as the drm driver does, which I believe
has the same end result.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c