drm/i915: Add a for_each_sprite() macro
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 3 Mar 2014 17:31:47 +0000 (17:31 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:37 +0000 (21:30 +0100)
commit1fe477856e2237bdc26173ea203ce99ff6f1392b
tree9234cc36b6784e10d2e932f3bf850c93515cd75d
parent07d27e20bc4ab2c8f969df8ebd7622320a0cdd92
drm/i915: Add a for_each_sprite() macro

This macro is similar to for_each_pipe() we already have. Convert the
two call sites we have at the same time.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c