From: Daniel Vetter Subject: Re: [PATCH 0/4] for_each_{intel_,}crtc v2 Date: Wed, 14 May 2014 00:40:03 +0200 Message-ID: <20140513224003.GZ3908@phenom.ffwll.local> References: <1400020344-17248-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 mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by gabe.freedesktop.org (Postfix) with ESMTP id AFB8389292 for ; Tue, 13 May 2014 15:40:07 -0700 (PDT) Received: by mail-ee0-f47.google.com with SMTP id c13so824660eek.20 for ; Tue, 13 May 2014 15:40:06 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1400020344-17248-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, May 13, 2014 at 11:32:20PM +0100, Damien Lespiau wrote: > With Daniel's help to figure out an arcane corner of coccinelle, here is v2 of > a series introducing macros to iterate through the CRTCs instead of using > list_for_each_entry() and mode_config.crtc_list, a tiny bit more readable and > easier to recall. > > Damien Lespiau (4): > drm/i915: Introduce a for_each_intel_crtc() macro > drm/i915: Use for_each_intel_crtc() when iterating through intel_crtcs > drm/i915: Introduce a for_each_crtc() macro > drm/i915: Use for_each_crtc() when iterating through the CRTCs Thanks, all four pulled into dinq. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch