Re: [PATCH] libdrm: Fix PCI domain domain support

2010-08-06 Thread Adam Jackson
On Fri, 2010-08-06 at 13:55 +1000, Benjamin Herrenschmidt wrote:
> This works in conjunction with newer kernels. If we succeed in requesting
> interface 1.4, the we know the kernel provides proper domain numbers. If
> not, ignore the domain number as it's bogus (except on Alpha).
> 
> Signed-off-by: Benjamin Herrenschmidt 

Applied, thanks!

- ajax


signature.asc
Description: This is a digitally signed message part
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev --
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [PATCH] drm: Fix support for PCI domains

2010-08-06 Thread Michel Dänzer
On Fre, 2010-08-06 at 13:55 +1000, Benjamin Herrenschmidt wrote: 
> (For some reason I thought that went in ages ago ...)
> 
> This fixes support for PCI domains in what should hopefully be a backward
> compatible way along with a change to libdrm.
> 
> When the interface version is set to 1.4, we assume userspace understands
> domains and the world is at peace. We thus pass proper domain numbers
> instead of 0 to userspace.
> 
> The newer libdrm will then try 1.4 first, and fallback to 1.1, along with
> ignoring domains in the later case (well, except on alpha of course)
> 
> Signed-off-by: Benjamin Herrenschmidt 

Reviewed-by: Michel Dänzer 

Thanks for tackling this, Ben!


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel