[PATCH 0/6] Use crtc helper drm_crtc_from_index() for more drivers
Shawn Guo
shawnguo at kernel.org
Mon Jan 9 11:25:39 UTC 2017
From: Shawn Guo <shawn.guo at linaro.org>
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(-)
--
1.9.1
More information about the dri-devel
mailing list