[Intel-gfx] [PATCH] drm/i915: Unset cursor if out-of-bounds upon mode change (v2)

Eric Anholt eric at anholt.net
Thu Jul 8 20:27:14 CEST 2010


On Thu, 08 Jul 2010 14:23:26 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Thu, 08 Jul 2010 22:56:34 +1000, Christopher James Halse Rogers <christopher.halse.rogers at canonical.com> wrote:
> > The 965 docs say (vol 3, p142, 147) that CUR?BASE should be written to
> > last when updating any of the cursor regs even if the base value hasn't
> > changed to trigger an update on the next VBLANK.
> > 
> > I'm not sure whether my reading of that documentation is correct,
> > though, because the cursor seemed to update just fine with the code in
> > this patch.
> 
> CUR?POS:
> "This register can be loaded atomically (requires that the base address be
> written) and is double buffered."
> 
> As the code has been previously moving the cursor for many years without
> updating CUR?BASE, I think we are safe.
> -ickle

Cursors are working fine on my system with this patch, but I'll wait for
a resolution on the regression when cursor at top/left.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100708/de6f0019/attachment.pgp>


More information about the Intel-gfx mailing list