From: Damien Lespiau Subject: [PATCH 0/3] Only initialize detected DDI buffers (v2) Date: Tue, 5 Aug 2014 11:29:36 +0100 Message-ID: <1407234579-16934-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 4914389D87 for ; Tue, 5 Aug 2014 03:30:30 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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