[Intel-gfx] [PATCH 2/2] drm/i915: Make for_each_sprite() take dev_priv as argument
Daniel Vetter
daniel at ffwll.ch
Mon Mar 2 10:01:52 PST 2015
On Sat, Feb 28, 2015 at 02:54:09PM +0000, Damien Lespiau wrote:
> Implicit usage of local variables in macros isn't exactly the greatest
> thing in the world, especially when that variable is the drm device and
> we want to move towards a broader use of the i915 device structure.
>
> Let's make for_each_sprite() take dev_priv as its first argument then.
>
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list