]> 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)
commit2823e7802f5bc2948bb3064ac82c5e73efaa7327
treebf657baf537ab8f819b473581db01405b529f126
parentdd3f624a9006d96c04076cf31ce41bad0a8d105b
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