linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] drm/msm/mdp5: Encoder related cleanups
@ 2016-12-19 10:04 Archit Taneja
  2016-12-19 10:04 ` [PATCH 1/6] drm/msm: Construct only one encoder for DSI Archit Taneja
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Archit Taneja @ 2016-12-19 10:04 UTC (permalink / raw)
  To: robdclark; +Cc: linux-arm-msm, dri-devel, Archit Taneja

The MDP5 and DSI drivers created 2 drm_encoders for a DSI interface (one
for each mode of operation). This patch fixes that.

Now, with the # encoders equal to the # of displays, we can create the
right # of CRTCs. We previously created LM # of CRTCs, which ate up
too many primary planes.

Archit Taneja (6):
  drm/msm: Construct only one encoder for DSI
  drm/msm: Set encoder's mode of operation using a kms func
  drm/msm/mdp5: Prepare for merging video and command encoders
  drm/msm/mdp5: Create single encoder per interface (INTF)
  drm/msm/mdp5: cfg: Change count to unsigned int
  drm/msm/mdp5: Create only as many CRTCs as we need

 drivers/gpu/drm/msm/dsi/dsi.c                   |  17 ++-
 drivers/gpu/drm/msm/dsi/dsi.h                   |   5 +-
 drivers/gpu/drm/msm/dsi/dsi_host.c              |   2 +
 drivers/gpu/drm/msm/dsi/dsi_manager.c           |  34 +++---
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c         |  28 +++--
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h         |   2 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c | 135 +++---------------------
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c     |  77 ++++++++++----
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c         |  86 ++++++++-------
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h         |  37 +++++--
 drivers/gpu/drm/msm/msm_drv.h                   |   9 +-
 drivers/gpu/drm/msm/msm_kms.h                   |   3 +
 12 files changed, 195 insertions(+), 240 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-01-17  4:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-19 10:04 [PATCH 0/6] drm/msm/mdp5: Encoder related cleanups Archit Taneja
2016-12-19 10:04 ` [PATCH 1/6] drm/msm: Construct only one encoder for DSI Archit Taneja
2016-12-19 10:04 ` [PATCH 2/6] drm/msm: Set encoder's mode of operation using a kms func Archit Taneja
2016-12-19 10:04 ` [PATCH 3/6] drm/msm/mdp5: Prepare for merging video and command encoders Archit Taneja
2016-12-19 10:04 ` [PATCH 4/6] drm/msm/mdp5: Create single encoder per interface (INTF) Archit Taneja
2016-12-19 10:04 ` [PATCH 5/6] drm/msm/mdp5: cfg: Change count to unsigned int Archit Taneja
2016-12-19 10:04 ` [PATCH 6/6] drm/msm/mdp5: Create only as many CRTCs as we need Archit Taneja
2017-01-17  4:06 ` [PATCH v2 0/6] drm/msm/mdp5: Encoder related cleanups Archit Taneja
2017-01-17  4:06   ` [PATCH v2 1/6] drm/msm: Construct only one encoder for DSI Archit Taneja
2017-01-17  4:06   ` [PATCH v2 2/6] drm/msm: Set encoder's mode of operation using a kms func Archit Taneja
2017-01-17  4:06   ` [PATCH v2 3/6] drm/msm/mdp5: Prepare for merging video and command encoders Archit Taneja
2017-01-17  4:06   ` [PATCH v2 4/6] drm/msm/mdp5: Create single encoder per interface (INTF) Archit Taneja
2017-01-17  4:06   ` [PATCH v2 5/6] drm/msm/mdp5: cfg: Change count to unsigned int Archit Taneja
2017-01-17  4:06   ` [PATCH v2 6/6] drm/msm/mdp5: Create only as many CRTCs as we need Archit Taneja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).