Re: [Nouveau] [PATCH v4] vga_switcheroo: Add helper for deferred probing

2016-05-19 Thread Emil Velikov
Hi Lukas, On 19 May 2016 at 15:39, Lukas Wunner wrote: > +bool vga_switcheroo_client_probe_defer(struct pci_dev *pdev) > +{ > + if ((pdev->class >> 8) == PCI_CLASS_DISPLAY_VGA) { Not sure if we want/need this, yet at least. This changes behaviour which is not what refactoring patches shoul

[Nouveau] [Bug 94637] system crash, no messages, GT215, ubuntu 16.04 when running glmark2 for a few minutes.

2016-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94637 --- Comment #13 from Pierre Moreau --- Just that single line? That’s sad… Which version of Mesa are you using? What happen if you boot with `nouveau.config=NvForcePost=1` on the kernel command line, and start Minecraft or glmark2 without doing a

[Nouveau] [PATCH v4] vga_switcheroo: Add helper for deferred probing

2016-05-19 Thread Lukas Wunner
So far we've got one condition when DRM drivers need to defer probing on a dual GPU system and it's coded separately into each of the relevant drivers. As suggested by Daniel Vetter, deduplicate that code in the drivers and move it to a new vga_switcheroo helper. This yields better encapsulation of

Re: [Nouveau] [PATCH] gpu/nouveau/nouveau_acpi.c: Fix Type Mismatch ACPI warning

2016-05-19 Thread Pierre Moreau
Hello Marcos, I sent a serie a year ago to fix some of the ACPI handling in Nouveau and add runtime pm support for laptops with an Apple GMUX (see [0], and especially [1] and [2]). I was told that a more generic work for the runtime pm was in the work, so I let the whole serie slip away. I was thi