Re: [PATCH 01/10] drm: Add drm_plane_mask()

2018-07-02 Thread Ville Syrjälä
On Tue, Jun 26, 2018 at 01:09:53PM -0700, Rodrigo Vivi wrote: > On Tue, Jun 26, 2018 at 10:47:07PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Add drm_plane_mask() which returns the 1< > We already have an identical drm_crtc_mask() for crtcs. > > > > Mostly performed with coccine

Re: [PATCH 01/10] drm: Add drm_plane_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:07PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add drm_plane_mask() which returns the 1< We already have an identical drm_crtc_mask() for crtcs. > > Mostly performed with coccinelle: > @@ > @@ > - (1< + drm_plane_mask( > ...) > - ) > > @@ > @@ > - 1<

[PATCH 01/10] drm: Add drm_plane_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Add drm_plane_mask() which returns the 1< --- drivers/gpu/drm/drm_atomic.c| 4 ++-- drivers/gpu/drm/drm_framebuffer.c | 2 +- drivers/gpu/drm/drm_simple_kms_helper.c | 2 +- include/drm/drm_plane.h | 14 -- 4 files changed, 16