From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: fix IVB cursor support Date: Wed, 12 Oct 2011 21:00:29 +0100 Message-ID: References: <1318443179-4917-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id C31B69E7AF for ; Wed, 12 Oct 2011 13:00:32 -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: Keith Packard , Jesse Barnes , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 12 Oct 2011 13:37:53 -0600, Keith Packard wrote: Non-text part: multipart/mixed Non-text part: multipart/signed > On Wed, 12 Oct 2011 11:12:59 -0700, Jesse Barnes wrote: > > > +#define CURCNTR_IVB(pipe) _PIPE(pipe, _CURACNTR, _CURBCNTR_IVB) > > +#define CURBASE_IVB(pipe) _PIPE(pipe, _CURABASE, _CURBBASE_IVB) > > +#define CURPOS_IVB(pipe) _PIPE(pipe, _CURAPOS, _CURBPOS_IVB) > > Only two cursors? They are at regular offsets (0x1000), so: CURCBASE = CURABASE + pipe*(CURBBASE - CURABASE); CURABASE: 0x70084 CURBBASE: 0x71084 CURCBASE: 0x72084 -Chris -- Chris Wilson, Intel Open Source Technology Centre