From: Jesse Barnes Subject: Re: [PATCH 6/9] drm/i915: implement WaDisablePSDDualDispatchEnable on IVB and VLV Date: Mon, 1 Oct 2012 11:56:50 -0500 Message-ID: <20121001115650.36343b52@jbarnes-t420> References: <1348086543-24427-1-git-send-email-jbarnes@virtuousgeek.org> <1348086543-24427-6-git-send-email-jbarnes@virtuousgeek.org> <20120925085132.GF3824@bremse> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy6-pub.bluehost.com (oproxy6-pub.bluehost.com [67.222.54.6]) by gabe.freedesktop.org (Postfix) with SMTP id AC8099E787 for ; Mon, 1 Oct 2012 09:57:16 -0700 (PDT) In-Reply-To: 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: "Lespiau, Damien" Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Mon, 1 Oct 2012 17:52:21 +0100 "Lespiau, Damien" wrote: > On Tue, Sep 25, 2012 at 9:51 AM, Daniel Vetter wrote: > > On Wed, Sep 19, 2012 at 01:29:00PM -0700, Jesse Barnes wrote: > >> Workaround for dual port PS dispatch on GT1. > >> > >> Signed-off-by: Jesse Barnes > >> + /* WaDisablePSDDualDispatchEnable */ > >> + if (dev->pci_device == 0x0156 || > >> + dev->pci_device == 0x0152) > > > > Can we please have a comment here explaining which pci ids we're matching > > here? Just in case we add yet another variant sometime. Or just plainly > > use IS_MOBILE, which seems to match here ... > > -Daniel > > This looks like testing if we're running on an IVB GT1 device (and > then we're missing 0x015a?). The address of the register is different > on GT1 and GT2 devices. > Yeah I have an updated version that uses IS_MOBILE since I think that matches the IDs we want. Jesse