[Intel-gfx] [PATCH] drm/i915: fix IVB cursor support

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 12 22:00:29 CEST 2011


On Wed, 12 Oct 2011 13:37:53 -0600, Keith Packard <keithp at keithp.com> wrote:
Non-text part: multipart/mixed
Non-text part: multipart/signed
> On Wed, 12 Oct 2011 11:12:59 -0700, Jesse Barnes <jbarnes at 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
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list