git: kernel: Import the apple-gmux driver from Linux 4.8

Francois Tigeot ftigeot at crater.dragonflybsd.org
Fri Apr 28 07:24:36 PDT 2017


commit 47f34b1f6d3d3846daec90970eeb3745bf2c74c7
Author: Peeter Must <karu.pruun at gmail.com>
Date:   Thu Apr 13 10:17:43 2017 +0300

    kernel: Import the apple-gmux driver from Linux 4.8
    
    Some Apple laptop models with dual GPUs use a special gmux device
    in order to connect video outputs to a particular GPU or the other
    one.
    This driver allows the use of Intel graphics on Macbooks having an
    on-board additional Nvidia GPU.
    
    Rename the driver to "apple_gmux" since hyphens are not welcome in
    DragonFly's kernel module names.

Summary of changes:
 .../drm/include/linux/{kconfig.h => apple-gmux.h}  |  10 +-
 sys/gnu/Makefile                                   |   2 +-
 sys/{bus/u4b/misc => gnu/dev}/Makefile             |   2 +-
 sys/gnu/dev/apple_gmux/Makefile                    |   8 +
 sys/gnu/dev/apple_gmux/apple-gmux.c                | 945 +++++++++++++++++++++
 5 files changed, 960 insertions(+), 7 deletions(-)
 copy sys/dev/drm/include/linux/{kconfig.h => apple-gmux.h} (90%)
 mode change 100644 => 100755
 copy sys/{bus/u4b/misc => gnu/dev}/Makefile (57%)
 create mode 100644 sys/gnu/dev/apple_gmux/Makefile
 create mode 100644 sys/gnu/dev/apple_gmux/apple-gmux.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/47f34b1f6d3d3846daec90970eeb3745bf2c74c7


-- 
DragonFly BSD source repository



More information about the Commits mailing list