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 > >

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

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 >>

Stupid NVIDIA 3D vgaarb.c patch

2014-09-24 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

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

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 >

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 >

Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread C Bergström
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 controllers any different than if one identifies itself as a "3D

Stupid NVIDIA 3D vgaarb.c patch

2014-09-23 Thread C Bergström
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 --- This is for Aorus X3 laptop with NVIDIA GTX 870m card On

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 +

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

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

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