kernel/vga_switcheroo: Hook vga_switcheroo to i915.
authorPeeter Must <karu.pruun@gmail.com>
Tue, 9 May 2017 12:36:13 +0000 (15:36 +0300)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 10 May 2017 10:05:10 +0000 (12:05 +0200)
commita7d4637632ad5e829ba2f255d0edae845b680983
treed4e45969a121b1aa558dae21052af3beff86007e
parent476c884a573292e93796bc5fccec91d43c1a37a1
kernel/vga_switcheroo: Hook vga_switcheroo to i915.

* When i915 loads, call vga_switcheroo to switch gmux so the
  integrated graphics device will output both to the laptop panel
  and the external monitor.
  For now, we do not power off the discrete graphics device.
sys/dev/drm/i915/i915_dma.c
sys/dev/drm/include/linux/vga_switcheroo.h
sys/dev/video/vga/vga_switcheroo.c