]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Don't use mode_set helper funcs for encoders and CRTCs
authorArchit Taneja <architt@codeaurora.org>
Fri, 28 Jul 2017 10:47:05 +0000 (16:17 +0530)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Aug 2017 11:53:46 +0000 (07:53 -0400)
commit8c4ecb39c0c84f9deb6e1fb3556f4df3f8dac4ed
treebf657baf537ab8f819b473581db01405b529f126
parentbfc9a6c46a94c65765f0dd1746e0feb1ff100b49
drm/msm/mdp5: Don't use mode_set helper funcs for encoders and CRTCs

We shouldn't use use mode_set/mode_set_nofb helpers when we use runtime
PM. The registers configured in these funcs lose their state when we
eventually enable the display pipeline.

Do not implement these vfuncs in the helpers, and call them in the
crtc_enable/encoder_enable paths instead.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
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