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

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 8 15:23:26 CEST 2010


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

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list