Re: [PATCH 77/89] drm/i915: Introduce a for_each_plane() macro

Damien Lespiau
2014-09-04T14:03:39Z

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