git: kernel/vga_switcheroo: Hook vga_switcheroo to i915.

Francois Tigeot ftigeot at crater.dragonflybsd.org
Wed May 10 03:30:35 PDT 2017


commit a7d4637632ad5e829ba2f255d0edae845b680983
Author: Peeter Must <karu.pruun at gmail.com>
Date:   Tue May 9 15:36:13 2017 +0300

    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.

Summary of changes:
 sys/dev/drm/i915/i915_dma.c                | 22 ++++++++++++++++++++++
 sys/dev/drm/include/linux/vga_switcheroo.h |  6 ++++++
 sys/dev/video/vga/vga_switcheroo.c         | 17 +++++++++++++++++
 3 files changed, 45 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a7d4637632ad5e829ba2f255d0edae845b680983


-- 
DragonFly BSD source repository



More information about the Commits mailing list