[Intel-gfx] [PATCH 2/3] drm/i915: Add a for_each_sprite() macro

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 28 18:26:53 CET 2014


On Fri, Feb 28, 2014 at 04:42:14PM +0000, Damien Lespiau wrote:
> This macro is similar to for_each_pipe() we already have. Convert the
> two call sites we have at the same time.

Have you considered adding the enum sprite? One day sparse will give us
warnings when we screw up.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list