drm/msm/mdp5: dpms(OFF) cleanups
authorRob Clark <robdclark@gmail.com>
Thu, 20 Nov 2014 22:05:04 +0000 (17:05 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 21 Nov 2014 13:59:24 +0000 (08:59 -0500)
commitd6ac4a84e7a3713929ec473cb8c10acc1dec41a2
tree44628a9fc5fe70e375d84fcc8dd4bf5a92a84005
parented8519636ef6c4b6ffbc4a449ebf39502e80ee74
drm/msm/mdp5: dpms(OFF) cleanups

When disabling the interface (INTF), the change doesn't latch until next
vblank, so we need to wait for vblank.

Also, to be pedantic, in the crtc, set all the mixer stages to unused.
It shouldn't really matter, since at this point we have already disabled
the INTF and waited for necessary vblank.

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