[Intel-gfx] ✗ Ro.CI.BAT: failure for vga_switcheroo: Add helper for deferred probing (rev2)

2016-05-21 Thread Patchwork
== Series Details == Series: vga_switcheroo: Add helper for deferred probing (rev2) URL : https://patchwork.freedesktop.org/series/7409/ State : failure == Summary == Series 7409v2 vga_switcheroo: Add helper for deferred probing http://patchwork.freedesktop.org/api/1.0/series/7409/revisions/2/

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

2016-05-21 Thread Lukas Wunner
Hi Emil, On Fri, May 20, 2016 at 12:41:04AM +0100, Emil Velikov wrote: > 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 lea

[Intel-gfx] [PATCH v5] vga_switcheroo: Add helper for deferred probing

2016-05-21 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: [Intel-gfx] [RFC i-g-t 1/9] configure.ac: Test for libdrm_intel and build for it if present.

2016-05-21 Thread Robert Foss
On 2016-05-21 03:55 AM, Chris Wilson wrote: On Fri, May 20, 2016 at 06:59:25PM -0400, robert.f...@collabora.com wrote: From: Robert Foss Test for libdrm_intel and build for it if present. Also expose the HAVE_INTEL #define to allow code to be conditionally compiled. Signed-off-by: Robert Fo

Re: [Intel-gfx] [RFC i-g-t 1/9] configure.ac: Test for libdrm_intel and build for it if present.

2016-05-21 Thread Chris Wilson
On Fri, May 20, 2016 at 06:59:25PM -0400, robert.f...@collabora.com wrote: > From: Robert Foss > > Test for libdrm_intel and build for it if present. > Also expose the HAVE_INTEL #define to allow code to be conditionally > compiled. > > Signed-off-by: Robert Foss > --- > configure.ac | 14