Skip to content

Add CRTC helper drm_crtc_from_index()

Shawn Guo dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: add crtc helper drm_crtc_from_index()drivers/gpu/drm/drm_crtc.c include/drm/drm_crtc.h+21 -01 reply
2/3drm: zte: use crtc helper drm_crtc_from_index()drivers/gpu/drm/zte/zx_vou.c+2 -130 replies
3/3drm: rockchip: use crtc helper drm_crtc_from_index()drivers/gpu/drm/rockchip/rockchip_drm_drv.c+2 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add CRTC helper drm_crtc_from_index()

From: Shawn Guo <[email protected]>

This is a suggestion from Sean Paul. ZTE and Rockchip DRM drivers have the similar code to find registered CRTC by given index. The series create a CRTC helper drm_crtc_from_index() to do the job, just like drm_plane_from_index() to search plane, and change ZTE, Rockchip driver to use the helper.

Shawn Guo (3):
drm: add crtc helper drm_crtc_from_index()
drm: zte: use crtc helper drm_crtc_from_index()
drm: rockchip: use crtc helper drm_crtc_from_index()

 drivers/gpu/drm/drm_crtc.c                  | 20 ++++++++++++++++++++
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 17 ++---------------
 drivers/gpu/drm/zte/zx_vou.c                | 15 ++-------------
 include/drm/drm_crtc.h                      |  1 +
 4 files changed, 25 insertions(+), 28 deletions(-)
Signature · 6 lines
1.9.1

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