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

2010-08-13 Thread Geert Uytterhoeven
On Fri, Aug 6, 2010 at 05:55, Benjamin Herrenschmidt b...@kernel.crashing.org 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

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

2010-08-12 Thread Dave Airlie
On Fri, Aug 13, 2010 at 7:30 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Aug 6, 2010 at 05:55, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: (For some reason I thought that went in ages ago ...) This fixes support for PCI domains in what should hopefully be a backward

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

2010-08-12 Thread Jesse Barnes
On Fri, 13 Aug 2010 09:33:35 +1000 Dave Airlie airl...@gmail.com wrote: On Fri, Aug 13, 2010 at 7:30 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Aug 6, 2010 at 05:55, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: (For some reason I thought that went in ages ago

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

2010-08-12 Thread Dave Airlie
On Fri, Aug 13, 2010 at 9:45 AM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Fri, 13 Aug 2010 09:33:35 +1000 Dave Airlie airl...@gmail.com wrote: On Fri, Aug 13, 2010 at 7:30 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Aug 6, 2010 at 05:55, Benjamin Herrenschmidt

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

2010-08-12 Thread Jesse Barnes
Hm, so pci_domain_nr should just return 0 on platforms where CONFIG_PCI_DOMAINS isn't set.  I'd expect that to be the case when CONFIG_PCI=n...  Maybe we just need to shuffle the definition around? I suspect something like the attached would suffice. Or maybe moving the

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

[PATCH] drm: Fix support for PCI domains

2010-08-05 Thread Benjamin Herrenschmidt
(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