From: Thierry Reding <thierry.reding@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH v3 00/13] drm/dp: Move drm_dp_link helpers to Tegra DRM
Date: Mon, 21 Oct 2019 16:34:24 +0200 [thread overview]
Message-ID: <20191021143437.1477719-1-thierry.reding@gmail.com> (raw)
From: Thierry Reding <treding@nvidia.com>
Hi,
Following up on the discussion about the usefulness of the drm_dp_link
helpers, here's a new series that adds a couple of new DPCD parser
functions and then pushes the drm_dp_link helpers down into drivers.
For most drivers this was pretty easy to do since they didn't heavily
rely on the struct drm_dp_link. I decided to move the drm_dp_link
helpers to the Tegra driver because they are more heavily used there
and I have a subsequent series that adds support for DisplayPort on
various Tegra boards based on those helpers.
The plan is to merge this series into drm-misc once reviewed so that I
can rebase my Tegra DP support patches on that, hopefully in time for
v5.5.
I don't have access to the bridges, Rockchip or MSM hardware, so those
drivers are only build-tested. Since this series really only replaces
variables, I don't think there's a high risk of breaking anything.
Changes in v3:
- drop drm_dp_aux_rd_interval() helper patch; this turned out to be
incomplete and fixing it made it useless over existing helpers
- add Reviewed-by from Lyude
- address review comments
Thierry
Thierry Reding (13):
drm/dp: Sort includes alphabetically
drm/dp: Remove a gratuituous blank line
drm/dp: Add drm_dp_fast_training_cap() helper
drm/dp: Add drm_dp_channel_coding_supported() helper
drm/dp: Add drm_dp_alternate_scrambler_reset_cap() helper
drm/dp: Do not busy-loop during link training
drm/dp: Add helper to get post-cursor adjustments
drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers
drm/bridge: tc358767: Avoid drm_dp_link helpers
drm/bridge: tc358767: Use DP nomenclature
drm/msm: edp: Avoid drm_dp_link helpers
drm/rockchip: Avoid drm_dp_link helpers
drm/tegra: Move drm_dp_link helpers to Tegra DRM
drivers/gpu/drm/bridge/analogix-anx78xx.c | 57 ++++++--
drivers/gpu/drm/bridge/tc358767.c | 65 ++++++---
drivers/gpu/drm/drm_dp_helper.c | 169 ++++------------------
drivers/gpu/drm/msm/edp/edp_ctrl.c | 70 ++++++---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 12 +-
drivers/gpu/drm/rockchip/cdn-dp-core.h | 3 +-
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 19 ++-
drivers/gpu/drm/tegra/Makefile | 1 +
drivers/gpu/drm/tegra/dp.c | 133 +++++++++++++++++
drivers/gpu/drm/tegra/dp.h | 26 ++++
drivers/gpu/drm/tegra/dpaux.c | 1 +
drivers/gpu/drm/tegra/sor.c | 1 +
include/drm/drm_dp_helper.h | 51 ++++---
13 files changed, 373 insertions(+), 235 deletions(-)
create mode 100644 drivers/gpu/drm/tegra/dp.c
create mode 100644 drivers/gpu/drm/tegra/dp.h
--
2.23.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2019-10-21 14:34 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-21 14:34 Thierry Reding [this message]
2019-10-21 14:34 ` [PATCH v3 01/13] drm/dp: Sort includes alphabetically Thierry Reding
2019-10-21 14:34 ` [PATCH v3 02/13] drm/dp: Remove a gratuituous blank line Thierry Reding
2019-10-21 14:34 ` [PATCH v3 03/13] drm/dp: Add drm_dp_fast_training_cap() helper Thierry Reding
2019-10-21 14:34 ` [PATCH v3 04/13] drm/dp: Add drm_dp_channel_coding_supported() helper Thierry Reding
2019-10-21 14:34 ` [PATCH v3 05/13] drm/dp: Add drm_dp_alternate_scrambler_reset_cap() helper Thierry Reding
2019-10-21 14:34 ` [PATCH v3 06/13] drm/dp: Do not busy-loop during link training Thierry Reding
2019-10-22 14:04 ` Daniel Vetter
2019-10-21 14:34 ` [PATCH v3 07/13] drm/dp: Add helper to get post-cursor adjustments Thierry Reding
2019-10-21 14:34 ` [PATCH v3 08/13] drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers Thierry Reding
2019-10-22 13:29 ` Daniel Vetter
2019-10-22 14:52 ` [PATCH v4] " Thierry Reding
2019-10-23 9:13 ` Daniel Vetter
2019-10-21 14:34 ` [PATCH v3 09/13] drm/bridge: tc358767: " Thierry Reding
2019-10-22 13:38 ` Daniel Vetter
2019-10-21 14:34 ` [PATCH v3 10/13] drm/bridge: tc358767: Use DP nomenclature Thierry Reding
2019-10-21 14:34 ` [PATCH v3 11/13] drm/msm: edp: Avoid drm_dp_link helpers Thierry Reding
2019-10-22 13:53 ` Daniel Vetter
2019-10-21 14:34 ` [PATCH v3 12/13] drm/rockchip: " Thierry Reding
2019-10-22 14:01 ` Daniel Vetter
2019-10-21 14:34 ` [PATCH v3 13/13] drm/tegra: Move drm_dp_link helpers to Tegra DRM Thierry Reding
2019-10-22 14:03 ` Daniel Vetter
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=20191021143437.1477719-1-thierry.reding@gmail.com \
--to=thierry.reding@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
/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 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).