[PATCH 7/8] drm: Add old state pointer to CRTC .enable() helper function

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Jun 28 13:44:28 UTC 2017


Hi Liviu,

On Wednesday 28 Jun 2017 14:41:49 Liviu Dudau wrote:
> On Wed, Jun 28, 2017 at 12:16:20AM +0300, Laurent Pinchart wrote:
> > The old state is useful for drivers that need to perform operations at
> > enable time that depend on the transition between the old and new
> > states.
> > 
> > While at it, rename the operation to .atomic_enable() to be consistent
> > with .atomic_disable(), as the .enable() operation is used by atomic
> > helpers only.
> > 
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas at ideasonboard.com>
> > ---
> > 
> >  drivers/gpu/drm/arc/arcpgu_crtc.c               |  5 ++--
> >  drivers/gpu/drm/arm/hdlcd_crtc.c                |  5 ++--
> >  drivers/gpu/drm/arm/malidp_crtc.c               |  5 ++--
> 
> For the hdlcd and mali-dp changes:
> 
> Acked-by: Liviu Dudau <Liviu.Dudau at arm.com>
> 
> I'll assume you are going to push the changes through drm-misc rather
> than me cherry picking the changes from the patch.

Yes I will, you don't need to worry about this patch :-)

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

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list