[Intel-gfx] [PATCH 77/89] drm/i915: Introduce a for_each_plane() macro

Damien Lespiau damien.lespiau at intel.com
Thu Sep 4 16:02:33 CEST 2014


On Thu, Sep 04, 2014 at 02:32:47PM +0100, Chris Wilson wrote:
> > +#define for_each_plane(pipe, p) \
> > +	for ((p) = 0; (p) < INTEL_INFO(dev)->num_sprites[(pipe)] + 1; (p)++)
> 
> We are adding new magic macros taking dev...
> 
> >  #define for_each_sprite(p, s) for ((s) = 0; (s) < INTEL_INFO(dev)->num_sprites[(p)]; (s)++)
> I haven't asked you to fix this one yet either.

I hereby promise I'll add those dev_priv arguments as followup up
patches.

-- 
Damien



More information about the Intel-gfx mailing list