1
0
Fork 0
alistair23-linux/drivers/gpu/vga
Lukas Wunner a345918d6e vga_switcheroo: Support deferred probing of audio clients
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 PCI_CLASS_DISPLAY_VGA as well as PCI_CLASS_DISPLAY_3D,
which is used by some Nvidia Optimus GPUs.

Any future checks for audio clients should then be constrained to
PCI_BASE_CLASS_MULTIMEDIA.

v6: Spun out from commit introducing vga_switcheroo_client_probe_defer()
    to keep it a pure refactoring change. (Emil Velikov, Jani Nikula)

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/358d58490eb9dda5f270d844b0dce511a2a20828.1464685538.git.lukas@wunner.de
2016-05-31 13:16:22 +02:00
..
Kconfig vga: compile fix, disable vga for s390 2012-11-30 17:47:28 +01:00
Makefile vga_switcheroo: initial implementation (v15) 2010-03-01 16:20:37 +10:00
vga_switcheroo.c vga_switcheroo: Support deferred probing of audio clients 2016-05-31 13:16:22 +02:00
vgaarb.c Merge branch 'memdup_user_nul' into work.misc 2016-01-04 10:25:34 -05:00