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)
commit710e7a4487839692cb35f5ba1c9371af0fb067b2
treebf657baf537ab8f819b473581db01405b529f126
parentf54ca1a0966bcdb525aee130a043a8adbccc5cbb
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