From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: Don't hardcode the number of pipes in the error state dump Date: Wed, 15 Aug 2012 18:00:26 +0100 Message-ID: <1345050038_99818@CP5-2952> References: <1345049856-15612-1-git-send-email-damien.lespiau@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 889AF9F3BA for ; Wed, 15 Aug 2012 10:00:41 -0700 (PDT) In-Reply-To: <1345049856-15612-1-git-send-email-damien.lespiau@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Damien Lespiau , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 15 Aug 2012 17:57:36 +0100, Damien Lespiau wrote: > From: Damien Lespiau > > New-ish devices have 3 pipes, so let's not just hardcode 2 but use the > for_each_pipe() macro and make struct intel_display_error_state is big > enough. Also add the number of pipes emitted to the error state, just in case the decoder wants to be smart. -Chris -- Chris Wilson, Intel Open Source Technology Centre