]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d97cb01d2254165de1b38834ad72621c4bd86b6
tree114a0979696ab100ed503b1f0dff00ccf85a50cd
parent7e77ce53e6783095558fbd2c5122ed492873af71
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