Changes since the previous patch: http://lists.freedesktop.org/archives/intel-gfx/2014-August/050058.html - patch 1 is a bonus patch adding one more of those for_each() macro - patch 2 limits the DDI buffer initialization to the detected DDIs - patch 3 is the v2 of the previous patch with Paulo's suggestion implemented -- Damien Damien Lespiau (3): drm/i915: Introduce a for_each_intel_encoder() macro drm/i915: Iterate through the initialized DDIs to prepare their buffers drm/i915: Don't write the HDMI buffer translation entry when not needed drivers/gpu/drm/i915/i915_debugfs.c | 3 +- drivers/gpu/drm/i915/i915_drv.h | 10 ++++++ drivers/gpu/drm/i915/i915_irq.c | 8 ++--- drivers/gpu/drm/i915/intel_ddi.c | 25 ++++++++++++--- drivers/gpu/drm/i915/intel_display.c | 59 ++++++++++++------------------------ drivers/gpu/drm/i915/intel_hdmi.c | 2 +- drivers/gpu/drm/i915/intel_lvds.c | 3 +- 7 files changed, 57 insertions(+), 53 deletions(-) -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx