> So, in order to fix a problem with the SAREA you align the map size
> for all added maps? Sounds bogus to me, especially since the range of
> possible page sizes is potentially unbounded.

Only the requested size from userspace, most drivers create the map from
the kernel anyway.

> IMO the proper thing to do is to fix the drivers when they create the SAREA...

The SAREA, in my case (radeon) is -already- created with the proper
size, it's userspace making use of the bogus SAREA_MAX constant that
gets it wrong and fails to map it.

However, after our IRC discussion, I'll post a different patch that we
agreed provides a better and safer workaround.

Jesse, ignore that patch for now, new one on the cookpot.

Cheers,
Ben.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to