<div dir="ltr">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.<div><br></div><div>How is a laptop with dual VGA controllers any different than if one identifies itself as a "3D controller"?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 23, 2014 at 4:15 AM, Alex Williamson <span dir="ltr"><<a href="mailto:alex.williamson@redhat.com" target="_blank">alex.williamson@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2014-09-22 at 13:43 -0700, Linus Torvalds wrote:<br>
> Adding proper people and mailing lists..<br>
><br>
> The PCI_CLASS_DISPLAY_VGA test goes back to the very beginning by<br>
> BenH, and I have no idea if adding PCI_CLASS_DISPLAY_3D is<br>
> appropriate, but hopefully somebody does. The fact that it makes<br>
> things work certainly argues fairly convincingly for it, but I want<br>
> some backup here.<br>
><br>
> Dave, BenH?<br>
<br>
</span>TBH, it seems pretty dubious to me.  There's nothing in the spec that<br>
would give us reason to believe that a device with a 3D controller class<br>
code requires VGA arbitration.  Also, if this controller starts<br>
participating in arbitration then this same laptop will likely disable<br>
DRI when Intel is the primary graphics due to Xorg wanting to mmap VGA<br>
MMIO space.  I'm not sure what the solution is, but unfortunately it's<br>
likely to be much more complicated than this patch.  Thanks,<br>
<br>
Alex<br>
<div class="HOEnZb"><div class="h5"><br>
> Christopher(?), can you please also specify which laptop etc. And the<br>
> patch itself seems to have come from somebody else, unless you're<br>
> Lekensteyn. So we'd want to get the provenance of that too.<br>
><br>
>                 Linus<br>
><br>
> On Mon, Sep 22, 2014 at 1:28 PM, C Bergström <<a href="mailto:cbergstrom@pathscale.com">cbergstrom@pathscale.com</a>> wrote:<br>
> > Hi Linus,<br>
> ><br>
> > I don't know who the original author is and I can have one of the distro<br>
> > graphics friends review it, but I need this patch below to get NVIDIA<br>
> > drivers to work (without using any Intel graphics) on my laptop<br>
> > <a href="http://pastebin.com/wpmFi38k" target="_blank">http://pastebin.com/wpmFi38k</a><br>
> ><br>
> > Sorry - I know this is not the proper way to submit a patch, but it's<br>
> > trivial and I'm not a kernel dev.<br>
> ><br>
> > Thanks<br>
> ><br>
> > ./C<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>