From: Seth Forshee <seth.forshee@canonical.com>
To: Matthew Garrett <mjg@redhat.com>, platform-driver-x86@vger.kernel.org
Cc: Richard Purdie <rpurdie@rpsys.net>,
linux-kernel@vger.kernel.org,
Seth Forshee <seth.forshee@canonical.com>
Subject: [PATCH v4 0/2] Add driver for Apple gmux device
Date: Fri, 16 Mar 2012 14:41:20 -0500 [thread overview]
Message-ID: <1331926882-22979-1-git-send-email-seth.forshee@canonical.com> (raw)
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 v3:
- Rename apple_bl_register_count to apple_bl_registered and make it
static.
- Add stubs for apple_bl register/unregister functions and drop
APPLE_GMUX's dependency on BACKLIGHT_APPLE.
Thanks,
Seth
Seth Forshee (2):
apple_bl: Add register/unregister functions
platform/x86: Add driver for Apple gmux device
drivers/platform/x86/Kconfig | 10 ++
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/apple-gmux.c | 242 ++++++++++++++++++++++++++++++++++++
drivers/video/backlight/apple_bl.c | 23 +++-
include/linux/apple_bl.h | 26 ++++
5 files changed, 300 insertions(+), 2 deletions(-)
create mode 100644 drivers/platform/x86/apple-gmux.c
create mode 100644 include/linux/apple_bl.h
next reply other threads:[~2012-03-16 19:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 19:41 Seth Forshee [this message]
2012-03-16 19:41 ` [PATCH v4 1/2] apple_bl: Add register/unregister functions Seth Forshee
2012-03-16 19:41 ` [PATCH v4 2/2] platform/x86: Add driver for Apple gmux device Seth Forshee
2012-03-16 21:27 ` Seth Forshee
2012-03-21 12:36 ` [PATCH v4 0/2] " Shea Levy
2012-03-21 14:38 ` Seth Forshee
2012-03-21 12:39 ` Shea Levy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331926882-22979-1-git-send-email-seth.forshee@canonical.com \
--to=seth.forshee@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®