linux/drivers/gpu/drm/msm/mdp/mdp5
Archit Taneja 9c9f6f8d47 drm/msm: Set encoder's mode of operation using a kms func
The mdp5 kms driver currently sets up multiple encoders per interface
(INTF), one for each kind of mode of operation it supports.
We create 2 drm_encoders for DSI, one for Video Mode and the other
for Command Mode operation. The reason behind this approach could have
been that we aren't aware of the DSI device's mode of operation when
we create the encoders.

This makes things a bit complicated, since these encoders have to
be further attached to the same DSI bridge. The easier way out is
to create a single encoder, and make the DSI driver set its mode
of operation when we know what the DSI device's mode flags are.

Start with providing a way to set the mdp5_intf_mode using a kms
func that sets the encoder's mode of operation. When constructing
a DSI encoder, we set the mode of operation to Video Mode as
default. When the DSI device is attached to the host, we probe the
DSI mode flags and set the corresponding mode of operation.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2017-02-06 11:28:43 -05:00
..
mdp5_cfg.c drm/msm: support multiple address spaces 2016-11-27 11:23:09 -05:00
mdp5_cfg.h drm/msm/mdp5: cfg: Add pipe_cursor block 2017-02-06 11:28:42 -05:00
mdp5_cmd_encoder.c drm/msm/mdp5: Use updated MDP5 register names 2016-07-16 10:08:57 -04:00
mdp5_crtc.c drm/msm: convert iova to 64b 2016-11-28 15:14:08 -05:00
mdp5_ctl.c drm/msm/mdp5: Use updated MDP5 register names 2016-07-16 10:08:57 -04:00
mdp5_ctl.h drm/msm/mdp5: Allocate CTL0/1 for dual DSI single FLUSH 2015-08-15 18:27:16 -04:00
mdp5_encoder.c drm/msm: Set encoder's mode of operation using a kms func 2017-02-06 11:28:43 -05:00
mdp5_irq.c drm/msm/mdp5: dump smp state on errors too 2016-11-27 11:32:35 -05:00
mdp5_kms.c drm/msm: Set encoder's mode of operation using a kms func 2017-02-06 11:28:43 -05:00
mdp5_kms.h drm/msm: Set encoder's mode of operation using a kms func 2017-02-06 11:28:43 -05:00
mdp5_mdss.c drm/msm: Call pm_runtime_enable/disable for newly created devices 2016-07-16 10:08:58 -04:00
mdp5_pipe.c drm/msm/mdp5: handle SMP block allocations "atomically" 2016-11-27 11:32:34 -05:00
mdp5_pipe.h drm/msm/mdp5: handle SMP block allocations "atomically" 2016-11-27 11:32:34 -05:00
mdp5_plane.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2017-01-27 11:00:42 +10:00
mdp5_smp.c drm/msm/mdp5: dump smp state on errors too 2016-11-27 11:32:35 -05:00
mdp5_smp.h drm/msm/mdp5: add debugfs to show smp block status 2016-11-27 11:32:34 -05:00
mdp5.xml.h drm/msm/mdp5: Update generated headers 2017-02-06 11:28:42 -05:00