linux/drivers/gpu/drm/msm/mdp/mdp5
Archit Taneja e5366ffe50 drm/msm/mdp5: Create only as many CRTCs as we need
We currently create CRTCs equaling to the # of Layer Mixer blocks we
have on the MDP5 HW. This number is generally more than the # of encoders
(INTFs) we have in the MDSS HW. The number of encoders connected to
displays on the platform (as described by DT) would be even lesser.

Create only N drm_crtcs, where N is the number of drm_encoders
successfully registered. To do this, we call modeset_init_intf() before
we init the drm_crtcs and drm_planes.

Because of this change, setting encoder->possible_crtcs needs to be moved
from construct_encoder() to a later point when we know how many CRTCs we
have.

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: Change count to unsigned int 2017-02-06 11:28:43 -05:00
mdp5_cmd_encoder.c drm/msm/mdp5: Create single encoder per interface (INTF) 2017-02-06 11:28:43 -05: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/mdp5: Create single encoder per interface (INTF) 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/mdp5: Create only as many CRTCs as we need 2017-02-06 11:28:43 -05:00
mdp5_kms.h drm/msm/mdp5: Create single encoder per interface (INTF) 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