From: Archit Taneja <architt@codeaurora.org>
To: robdclark@gmail.com
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
Archit Taneja <architt@codeaurora.org>
Subject: [PATCH v2 0/6] drm/msm/mdp5: Encoder related cleanups
Date: Tue, 17 Jan 2017 09:36:24 +0530 [thread overview]
Message-ID: <20170117040630.5299-1-architt@codeaurora.org> (raw)
In-Reply-To: <1482141850-23393-1-git-send-email-architt@codeaurora.org>
The MDP5 and DSI drivers created 2 drm_encoders for a DSI interface (one
for each mode of operation). This set creates one encoder per DSI
interface. This is needed by the updated drm_bridge API.
Now, with the # encoders equal to the # of displays, we can create the
right # of CRTCs. We previously created LM # of CRTCs, which was a bit
unnecessary.
Changes in v2:
- Rebase over bridge API updates going in 4.11
- Fix issues seen when calling kms func's set_encoder_mode for
devices where the control/primary device is of the type
mipi_dsi_device
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 | 14 +--
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 | 61 +++++++----
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 | 11 +-
drivers/gpu/drm/msm/msm_kms.h | 3 +
12 files changed, 219 insertions(+), 242 deletions(-)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2017-01-17 4:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Archit Taneja [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170117040630.5299-1-architt@codeaurora.org \
--to=architt@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robdclark@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.