lkml.org 
[lkml]   [2012]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] Add driver for Apple gmux device
Date
Apple laptops with hybrid graphics have a device named gmux that is used
for switching between GPUs and backlight control. On many models this is
the only reliable method for controlling the backlight.

This series adds initial support for the gmux device, along with
anciallary support for disabling apple_bl when the gmux device is
detected. Initially only backlight control is supported.

Changes since v2:

- Add prerequisite patch for apple_bl to support disabling this
backlight when a gmux backlight device is present.

- Unregister acpi_video when a gmux backlight device is present.

Thanks,
Seth


Seth Forshee (2):
apple_bl: Add register/unregister functions
platform/x86: Add driver for Apple gmux device

drivers/platform/x86/Kconfig | 11 ++
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/apple-gmux.c | 242 ++++++++++++++++++++++++++++++++++++
drivers/video/backlight/apple_bl.c | 23 +++-
include/linux/apple_bl.h | 11 ++
5 files changed, 286 insertions(+), 2 deletions(-)
create mode 100644 drivers/platform/x86/apple-gmux.c
create mode 100644 include/linux/apple_bl.h


\
 
 \ /
  Last update: 2012-03-15 22:35    [from the cache]
©2003-2011 Jasper Spaans