[PATCH 2/2] drm/atomic: add plane iterator macros

2014-11-25 Thread Daniel Vetter
On Fri, Nov 21, 2014 at 09:42:25PM +0100, Thierry Reding wrote: > On Fri, Nov 21, 2014 at 09:38:40PM +0100, Daniel Vetter wrote: > > On Fri, Nov 21, 2014 at 03:28:32PM -0500, Rob Clark wrote: > > > +#define drm_crtc_for_each_plane(plane, crtc) \ > > > + list_for_each_entry((plane), &(crtc)->dev->mo

[PATCH 2/2] drm/atomic: add plane iterator macros

2014-11-21 Thread Thierry Reding
On Fri, Nov 21, 2014 at 03:28:32PM -0500, Rob Clark wrote: > Add helper macros to iterate the current, or incoming set of planes > attached to a crtc. These helpers are only available for drivers > converted to use atomic-helpers. > > Signed-off-by: Rob Clark > --- > Documentation/DocBook/drm.t

[PATCH 2/2] drm/atomic: add plane iterator macros

2014-11-21 Thread Thierry Reding
On Fri, Nov 21, 2014 at 09:38:40PM +0100, Daniel Vetter wrote: > On Fri, Nov 21, 2014 at 03:28:32PM -0500, Rob Clark wrote: > > Add helper macros to iterate the current, or incoming set of planes > > attached to a crtc. These helpers are only available for drivers > > converted to use atomic-helpe

[PATCH 2/2] drm/atomic: add plane iterator macros

2014-11-21 Thread Daniel Vetter
On Fri, Nov 21, 2014 at 03:28:32PM -0500, Rob Clark wrote: > Add helper macros to iterate the current, or incoming set of planes > attached to a crtc. These helpers are only available for drivers > converted to use atomic-helpers. > > Signed-off-by: Rob Clark > --- > Documentation/DocBook/drm.t

[PATCH 2/2] drm/atomic: add plane iterator macros

2014-11-21 Thread Rob Clark
Add helper macros to iterate the current, or incoming set of planes attached to a crtc. These helpers are only available for drivers converted to use atomic-helpers. Signed-off-by: Rob Clark --- Documentation/DocBook/drm.tmpl | 1 + include/drm/drm_atomic_helper.h | 26 +++