All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add CRTC helper drm_crtc_from_index()
@ 2016-12-29 12:41 Shawn Guo
  2016-12-29 12:41 ` [PATCH 1/3] drm: add crtc " Shawn Guo
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Shawn Guo @ 2016-12-29 12:41 UTC (permalink / raw)
  To: dri-devel; +Cc: Daniel Vetter, Shawn Guo

From: Shawn Guo <shawn.guo@linaro.org>

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(-)

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-09  9:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29 12:41 [PATCH 0/3] Add CRTC helper drm_crtc_from_index() Shawn Guo
2016-12-29 12:41 ` [PATCH 1/3] drm: add crtc " Shawn Guo
2016-12-30 11:14   ` Daniel Vetter
2016-12-29 12:41 ` [PATCH 2/3] drm: zte: use " Shawn Guo
2016-12-29 12:41 ` [PATCH 3/3] drm: rockchip: " Shawn Guo
2016-12-30 11:16 ` [PATCH 0/3] Add CRTC " Daniel Vetter
2017-01-09  9:03   ` Shawn Guo
2017-01-09  9:58     ` Daniel Vetter

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.