Re: [Intel-gfx] [PATCH v6 2/2] vga_switcheroo: Support deferred probing of audio clients

2016-05-31 Thread Daniel Vetter
On Tue, May 31, 2016 at 11:13:27AM +0200, Lukas Wunner wrote: > Daniel Vetter pointed out that vga_switcheroo_client_probe_defer() could > be needed by audio clients as well. To avoid mistakes when someone adds > conditions for these in the future, constrain the single existing > condition to VGA

[Intel-gfx] [PATCH v6 2/2] vga_switcheroo: Support deferred probing of audio clients

2016-05-31 Thread Lukas Wunner
Daniel Vetter pointed out that vga_switcheroo_client_probe_defer() could be needed by audio clients as well. To avoid mistakes when someone adds conditions for these in the future, constrain the single existing condition to VGA clients by checking for PCI_BASE_CLASS_DISPLAY. This encompasses both