[PATCH v2 0/3] Cleanup CRTC .enable()/.disable() cargo-cult

Laurent Pinchart laurent.pinchart+renesas at ideasonboard.com
Fri Jun 30 09:36:43 UTC 2017


Hello,

The first version of this patch series removed legacy CRTC helper operations
from most atomic drivers, and got partially merged in the drm-misc tree. This
second version is a repost of the two unmerged patches from the original
series, with an additional patch to complete removal of the last atomic user
of the legacy CRTC .prepare() helper operation.

The patches are based on top of the drm-misc-next branch and have been
compile-tested only except for rcar-du-drm that has been tested on real
hardware. Given the high risk of conflicts I would like to get them merged as
soon as possible (after, of course, proper review and testing).

Laurent Pinchart (3):
  drm: Add old state pointer to CRTC .enable() helper function
  drm: Convert atomic drivers from CRTC .disable() to .atomic_disable()
  drm: vmwgfx: Remove the legacy CRTC .prepare() helper operations

 drivers/gpu/drm/arc/arcpgu_crtc.c               | 10 +++--
 drivers/gpu/drm/arm/hdlcd_crtc.c                | 10 +++--
 drivers/gpu/drm/arm/malidp_crtc.c               | 10 +++--
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c  | 10 +++--
 drivers/gpu/drm/drm_atomic_helper.c             |  7 ++--
 drivers/gpu/drm/drm_simple_kms_helper.c         | 10 +++--
 drivers/gpu/drm/exynos/exynos_drm_crtc.c        | 10 +++--
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c      |  5 ++-
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c  | 10 +++--
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 10 +++--
 drivers/gpu/drm/imx/ipuv3-crtc.c                |  5 ++-
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c         | 10 +++--
 drivers/gpu/drm/meson/meson_crtc.c              | 10 +++--
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c        | 10 +++--
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c        | 10 +++--
 drivers/gpu/drm/omapdrm/omap_crtc.c             | 10 +++--
 drivers/gpu/drm/qxl/qxl_display.c               | 10 +++--
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c          | 10 +++--
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c     | 10 +++--
 drivers/gpu/drm/sti/sti_crtc.c                  | 10 +++--
 drivers/gpu/drm/stm/ltdc.c                      | 10 +++--
 drivers/gpu/drm/sun4i/sun4i_crtc.c              | 10 +++--
 drivers/gpu/drm/tegra/dc.c                      | 10 +++--
 drivers/gpu/drm/tilcdc/tilcdc_crtc.c            | 16 ++++++-
 drivers/gpu/drm/vc4/vc4_crtc.c                  | 10 +++--
 drivers/gpu/drm/virtio/virtgpu_display.c        | 10 +++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c             | 14 ++++---
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c            | 29 +++++--------
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c            | 20 ++++-----
 drivers/gpu/drm/zte/zx_vou.c                    | 10 +++--
 include/drm/drm_modeset_helper_vtables.h        | 56 ++++++++++++++-----------
 31 files changed, 221 insertions(+), 161 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list