Skip to content

drm/dp: Move drm_dp_link helpers to Tegra DRM

Thierry Reding dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15drm/dp: Sort includes alphabeticallyinclude/drm/drm_dp_helper.h+2 -21 reply
2/15drm/dp: Remove a gratuituous blank linedrivers/gpu/drm/drm_dp_helper.c+0 -11 reply
3/15drm/dp: Add drm_dp_fast_training_cap() helperinclude/drm/drm_dp_helper.h+7 -01 reply
4/15drm/dp: Add drm_dp_channel_coding_supported() helperinclude/drm/drm_dp_helper.h+7 -01 reply
5/15drm/dp: Add drm_dp_alternate_scrambler_reset_cap() helperinclude/drm/drm_dp_helper.h+7 -01 reply
6/15drm/dp: Read AUX read interval from DPCDinclude/drm/drm_dp_helper.h+33 -02 replies
7/15drm/dp: Do not busy-loop during link trainingdrivers/gpu/drm/drm_dp_helper.c+18 -122 replies
8/15drm/dp: Use drm_dp_aux_rd_interval()drivers/gpu/drm/drm_dp_helper.c+3 -232 replies
9/15drm/dp: Add helper to get post-cursor adjustmentsdrivers/gpu/drm/drm_dp_helper.c include/drm/drm_dp_helper.h+20 -01 reply
10/15drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpersdrivers/gpu/drm/bridge/analogix-anx78xx.c+42 -150 replies
11/15drm/bridge: tc358767: Avoid drm_dp_link helpersdrivers/gpu/drm/bridge/tc358767.c+41 -220 replies
12/15drm/bridge: tc358767: Use DP nomenclaturedrivers/gpu/drm/bridge/tc358767.c+1 -10 replies
13/15drm/msm: edp: Avoid drm_dp_link helpersdrivers/gpu/drm/msm/edp/edp_ctrl.c+49 -210 replies
14/15drm/rockchip: Avoid drm_dp_link helpersdrivers/gpu/drm/rockchip/cdn-dp-core.c drivers/gpu/drm/rockchip/cdn-dp-core.h drivers/gpu/drm/rockchip/cdn-dp-reg.c+17 -170 replies
15/15drm/tegra: Move drm_dp_link helpers to Tegra DRMdrivers/gpu/drm/drm_dp_helper.c drivers/gpu/drm/tegra/Makefile drivers/gpu/drm/tegra/dp.c +4 more+162 -1440 replies

Reviews trailers per patch

7 of 15 patches have a Reviewed-by or Acked-by.

PatchPhilipp ZabelAndrzej HajdaLyude Paul
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15
7/15
8/15
9/15R-b R-b
10/15
11/15
12/15R-b
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/15] drm/dp: Move drm_dp_link helpers to Tegra DRM

From: Thierry Reding <[email protected]>

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.

Thierry

Thierry Reding (15):
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: Read AUX read interval from DPCD
drm/dp: Do not busy-loop during link training drm/dp: Use drm_dp_aux_rd_interval()
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           | 167 +++-------------------
 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               |  84 ++++++++---
 13 files changed, 395 insertions(+), 244 deletions(-)
 create mode 100644 drivers/gpu/drm/tegra/dp.c
 create mode 100644 drivers/gpu/drm/tegra/dp.h
Signature · 6 lines
2.23.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel