Skip to content

Use crtc helper drm_crtc_from_index() for more drivers

Shawn Guo dri-devel 1 version Applied

Status from this message: Applied to drm-misc-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6drm: exynos: use crtc helper drm_crtc_from_index()drivers/gpu/drm/exynos/exynos_drm_crtc.c drivers/gpu/drm/exynos/exynos_drm_drv.h+2 -141 reply
2/6drm: kirin: use crtc helper drm_crtc_from_index()drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.h+4 -72 replies
3/6drm: mediatek: use crtc helper drm_crtc_from_index()drivers/gpu/drm/mediatek/mtk_drm_crtc.c drivers/gpu/drm/mediatek/mtk_drm_drv.h+4 -61 reply
4/6drm: nouveau: use crtc helper drm_crtc_from_index()drivers/gpu/drm/nouveau/nouveau_display.c+18 -151 reply
5/6drm: tegra: use crtc helper drm_crtc_from_index()drivers/gpu/drm/tegra/drm.c+3 -161 reply
6/6drm: vc4: use crtc helper drm_crtc_from_index()drivers/gpu/drm/vc4/vc4_crtc.c drivers/gpu/drm/vc4/vc4_drv.h+7 -111 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSean PaulXinliang Liu
SeriesR-b
1/6
2/6R-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Use crtc helper drm_crtc_from_index() for more drivers

From: Shawn Guo <[email protected]>

This is a follow-up series for "[PATCH 0/3] Add CRTC helper drm_crtc_from_index()" per Daniel's comment [1].

Basically, it changes some drivers to use helper drm_crtc_from_index() for the vblank code, so that either they do not need to store CRTC pointers in private struct, or the exactly same code for finding CRTC can be saved.

Compile tested against the following branch.

git://anongit.freedesktop.org/drm/drm-misc drm-misc-next

Shawn

[1] http://www.spinics.net/lists/dri-devel/msg128065.html

Shawn Guo (6):
drm: exynos: use crtc helper drm_crtc_from_index()
drm: kirin: use crtc helper drm_crtc_from_index()
drm: mediatek: use crtc helper drm_crtc_from_index()
drm: nouveau: use crtc helper drm_crtc_from_index()
drm: tegra: use crtc helper drm_crtc_from_index()
drm: vc4: use crtc helper drm_crtc_from_index()

 drivers/gpu/drm/exynos/exynos_drm_crtc.c        |  6 -----
 drivers/gpu/drm/exynos/exynos_drm_drv.h         | 10 ++------
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 10 +++-----
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.h |  1 -
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c         |  9 +++----
 drivers/gpu/drm/mediatek/mtk_drm_drv.h          |  1 -
 drivers/gpu/drm/nouveau/nouveau_display.c       | 33 ++++++++++++++-----------
 drivers/gpu/drm/tegra/drm.c                     | 19 +++-----------
 drivers/gpu/drm/vc4/vc4_crtc.c                  | 17 ++++++-------
 drivers/gpu/drm/vc4/vc4_drv.h                   |  1 -
 10 files changed, 38 insertions(+), 69 deletions(-)
Signature · 6 lines
1.9.1

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