Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-27 Thread Pasi Kärkkäinen
On Mon, Sep 22, 2014 at 06:10:50PM -0400, Alex Deucher wrote: > > > > With dual VGA controllers, we can change VGA routing in the chipset so > > that we can address one device or the other using the VGA address space. > > This lets things like Xorg switch between cards to initialize a card via > >

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-27 Thread Pasi Kärkkäinen
On Mon, Sep 22, 2014 at 06:10:50PM -0400, Alex Deucher wrote: With dual VGA controllers, we can change VGA routing in the chipset so that we can address one device or the other using the VGA address space. This lets things like Xorg switch between cards to initialize a card via the VGA

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-26 Thread Ilia Mirkin
On Fri, Sep 26, 2014 at 5:08 PM, Aaron Plattner wrote: > On 09/23/2014 01:29 PM, Benjamin Herrenschmidt wrote: >> >> On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: >>> >>> Adding proper people and mailing lists.. >>> >>> The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-26 Thread Aaron Plattner
On 09/23/2014 01:29 PM, Benjamin Herrenschmidt wrote: On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is appropriate, but

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-26 Thread Aaron Plattner
On 09/23/2014 01:29 PM, Benjamin Herrenschmidt wrote: On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is appropriate, but

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-26 Thread Ilia Mirkin
On Fri, Sep 26, 2014 at 5:08 PM, Aaron Plattner aplatt...@nvidia.com wrote: On 09/23/2014 01:29 PM, Benjamin Herrenschmidt wrote: On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Alex Deucher
On Mon, Sep 22, 2014 at 5:20 PM, C Bergström wrote: > For clarity - My testing and the patch is required when the Intel driver > isn't being used at all. After I finish some other testing I can see if > bumblebee and intel driver + this patch will play nicely. > > How is a laptop with dual VGA

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Benjamin Herrenschmidt
On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: > Adding proper people and mailing lists.. > > The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by > BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is > appropriate, but hopefully somebody does. The fact that it makes

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Bruno Prémont
On Mon, 22 September 2014 Linus Torvalds wrote: > Adding proper people and mailing lists.. > > The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by > BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is > appropriate, but hopefully somebody does. The fact that it makes >

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Peter Wu
On Tuesday 23 September 2014 03:52:48 C Bergström wrote: > Here's where I originally found it > https://github.com/Bumblebee-Project/Bumblebee/issues/159 > (Adding Peter to cc chain) > > I guess there's already a bug id and some (snarky?) comments >

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Peter Wu
On Tuesday 23 September 2014 03:52:48 C Bergström wrote: Here's where I originally found it https://github.com/Bumblebee-Project/Bumblebee/issues/159 (Adding Peter to cc chain) I guess there's already a bug id and some (snarky?) comments https://bugzilla.kernel.org/show_bug.cgi?id=63641

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Bruno Prémont
On Mon, 22 September 2014 Linus Torvalds torva...@linux-foundation.org wrote: Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is appropriate, but hopefully somebody does. The

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Benjamin Herrenschmidt
On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is appropriate, but hopefully somebody does. The fact that it makes

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread Alex Deucher
On Mon, Sep 22, 2014 at 5:20 PM, C Bergström cbergst...@pathscale.com wrote: For clarity - My testing and the patch is required when the Intel driver isn't being used at all. After I finish some other testing I can see if bumblebee and intel driver + this patch will play nicely. How is a

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Alex Deucher
On Mon, Sep 22, 2014 at 5:54 PM, Alex Williamson wrote: > On Tue, 2014-09-23 at 04:20 +0700, C Bergström wrote: >> For clarity - My testing and the patch is required when the Intel driver >> isn't being used at all. After I finish some other testing I can see if >> bumblebee and intel driver +

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Alex Williamson
On Tue, 2014-09-23 at 04:20 +0700, C Bergström wrote: > For clarity - My testing and the patch is required when the Intel driver > isn't being used at all. After I finish some other testing I can see if > bumblebee and intel driver + this patch will play nicely. > > How is a laptop with dual VGA

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Alex Williamson
On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: > Adding proper people and mailing lists.. > > The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by > BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is > appropriate, but hopefully somebody does. The fact that it makes

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Linus Torvalds
Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is appropriate, but hopefully somebody does. The fact that it makes things work certainly argues fairly convincingly for it, but I

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Linus Torvalds
Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is appropriate, but hopefully somebody does. The fact that it makes things work certainly argues fairly convincingly for it, but I

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Alex Williamson
On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote: Adding proper people and mailing lists.. The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is appropriate, but hopefully somebody does. The fact that it makes

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Alex Williamson
On Tue, 2014-09-23 at 04:20 +0700, C Bergström wrote: For clarity - My testing and the patch is required when the Intel driver isn't being used at all. After I finish some other testing I can see if bumblebee and intel driver + this patch will play nicely. How is a laptop with dual VGA

Re: Stupid NVIDIA 3D vgaarb.c patch

2014-09-22 Thread Alex Deucher
On Mon, Sep 22, 2014 at 5:54 PM, Alex Williamson alex.william...@redhat.com wrote: On Tue, 2014-09-23 at 04:20 +0700, C Bergström wrote: For clarity - My testing and the patch is required when the Intel driver isn't being used at all. After I finish some other testing I can see if bumblebee