On Wed, 12 Oct 2011 21:00:29 +0100 Chris Wilson <ch...@chris-wilson.co.uk> wrote:
> On Wed, 12 Oct 2011 13:37:53 -0600, Keith Packard <kei...@keithp.com> wrote: > Non-text part: multipart/mixed > Non-text part: multipart/signed > > On Wed, 12 Oct 2011 11:12:59 -0700, Jesse Barnes <jbar...@virtuousgeek.org> > > 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 Yeah as long as the hw guys aren't trying to trick is (as with the PCH DPLL regs) we use this pattern everywhere and walk past the 'B' range to get to the 'C' regs. -- Jesse Barnes, Intel Open Source Technology Center
signature.asc
Description: PGP signature
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx