[Nouveau] [PATCH] drm/nouveau: fix WITHIN macro off by one

Pekka Paalanen pq at iki.fi
Sun Sep 20 05:23:51 PDT 2009


On Sun, 20 Sep 2009 13:29:24 +0200
Stephane Marchesin <marchesin at icps.u-strasbg.fr> wrote:

> On Fri, Sep 18, 2009 at 20:15, Pekka Paalanen <pq at iki.fi> wrote:
> > Equality in x <= y + z is already out of range. X must be
> > stricly less.
> >
> 
> Yeah, I did that back when the SIZE defines were, say, 0x1fff
> instead of 0x2000 so this was required. Seems like the size
> defines changed, but the WITHIN macro wasn't updated.

Thanks for confirming this, I pushed it a while back.

-- 
Pekka Paalanen
http://www.iki.fi/pq/


More information about the Nouveau mailing list