On Mon, 2002-07-08 at 13:07, Keith Whitwell wrote:
> 
> > 
> > The scratch register values need to be read with DRM_READ32(), which
> > accounts both for endianness and memory barriers. So it would be
> > 
> >             u32 done_age = DRM_READ32(&dev_priv->scratch[1]);
> > 
> > etc.
> > 
> > 
> > Nice work!
> 
> 
> I think it's probably worthwhile to commit this now.  Michel, if you have a 
> version that's endian-aware, can you do the honors, with credit to Tim?

PCI GART probably also needs special treatment, I was going to look into
that.

Also, it's not backwards compatible right now, should we just fall back
to reading the register directly if the ioctl fails?


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to