Follow up of: http://lists.freedesktop.org/archives/intel-gfx/2014-February/040789.html With a couple of changes: - Fix up the poor style when initializing the per-pipe num_sprites - Added more for_each_pipe(pipe) conversion - Added a small cleanup patch spotted when doing the previous patch -- Damien Damien Lespiau (5): drm/i915: Use a pipe variable to cycle through the pipes drm/i915: Don't declare unnecessary shadowing variable drm/i915: Replace a few for_each_pipe(i) by for_each_pipe(pipe) drm/i915: Add a for_each_sprite() macro drm/i915: Make num_sprites a per-pipe value drivers/gpu/drm/i915/i915_debugfs.c | 15 +++++++-------- drivers/gpu/drm/i915/i915_dma.c | 8 ++++++-- drivers/gpu/drm/i915/i915_drv.h | 5 +++-- drivers/gpu/drm/i915/i915_irq.c | 14 +++++++------- drivers/gpu/drm/i915/intel_display.c | 21 +++++++++++---------- drivers/gpu/drm/i915/intel_pm.c | 16 ++++++++-------- 6 files changed, 42 insertions(+), 37 deletions(-) -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx