15 Nov, 2013
1 commit
-
Since DEVICE_ACPI_HANDLE() is now literally identical to
ACPI_HANDLE(), replace it with the latter everywhere and drop its
definition from include/acpi.h.Signed-off-by: Rafael J. Wysocki
Acked-by: Greg Kroah-Hartman
12 Sep, 2013
1 commit
-
Convert drivers/platform/x86/apple-gmux to use dev_pm_ops instead of
legacy pm_ops. This patch depends on pnp driver bus ops change to invoke
pnp_driver dev_pm_ops.Signed-off-by: Shuah Khan
Cc: Matthew Garrett
Cc: Leonidas Da Silva Barbosa
Cc: Ashley Lai
Cc: Rajiv Andrade
Cc: Marcel Selhorst
Cc: Sirrix AG
Cc: Alessandro Zummo
Cc: "Rafael J. Wysocki"
Cc: Bjorn Helgaas
Cc: Grant Likely
Cc: Rob Herring
Cc: Peter Hüwe
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
04 Jan, 2013
1 commit
-
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.Cc: Bill Pemberton
Cc: Joey Lee
Cc: Matthew Garrett
Cc: Peter Feuerer
Cc: Corentin Chary
Cc: Cezary Jackiewicz
Cc: Robert Gerlach
Cc: Ike Panhc
Cc: Henrique de Moraes Holschuh
Signed-off-by: Greg Kroah-Hartman
14 Sep, 2012
4 commits
-
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
This function fails to add the start address of the gmux I/O range to
the requested port address and thus writes to the wrong location.Signed-off-by: Seth Forshee
Signed-off-by: Matthew Garrett -
Study of Apple's binary driver revealed that the GMUX_READ_PORT should
be written between calls to gmux_index_wait_ready and
gmux_index_wait_complete (i.e., the new index protocol must be
followed). If this is not done correctly, the indexed
gmux device only partially accepts writes which lead to problems
concerning GPU switching. Special thanks to Seth Forshee who helped
greatly with identifying unnecessary changes.Signed-off-by: Bernhard Froemel
Signed-off-by: Matthew Garrett -
This patch extracts and displays version information from the indexed
gmux device as it is also done for the classic gmux device.Signed-off-by: Bernhard Froemel
Signed-off-by: Matthew Garrett
18 Aug, 2012
4 commits
-
Add support for the gmux display muxing functionality and register a mux
handler with vga_switcheroo.Signed-off-by: Andreas Heider
Signed-off-by: Seth Forshee
Signed-off-by: Matthew Garrett -
We were only calling acpi_video_unregister() if ACPI video support was built
in, not if it was a module.Signed-off-by: Matthew Garrett
-
New gmux devices have a different method for accessing the registers.
Update the driver to cope. Incorporates feedback from Bernhard Froemel.Signed-off-by: Matthew Garrett
Cc: Bernhard Froemel
Cc: Seth Forshee -
Move the special-cased backlight update function to a generic gmux_write32
function.Signed-off-by: Matthew Garrett
Cc: Seth Forshee
28 Jul, 2012
1 commit
-
Instead of using directly acpi_video_unregister(), use
acpi_video_dmi_promote_vendor() (and make it call
acpi_video_unregister() if needed)Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett
02 Jun, 2012
1 commit
-
I incorporated the wrong version of the suspend/resume patch for gmux,
and so lost David Woodhouse's fix to leave the backlight level unchanged
over suspend/resume. This fixes it up to v2.Signed-off-by: Matthew Garrett
01 Jun, 2012
1 commit
-
After S3, the brightness might not be restored to the pre-suspend value.
Request status update calls from the backlight core on suspend/resume to
ensure the brightness value is restored.Reported-and-tested-by: Austin Lund
Signed-off-by: Seth Forshee
Signed-off-by: Matthew Garrett
27 Mar, 2012
1 commit
-
Apple laptops with hybrid graphics have a device named gmux that
controls the muxing of the LVDS panel between the GPUs as well as screen
brightness. This driver adds support for the gmux device. Only backlight
control is supported initially.Signed-off-by: Seth Forshee
Signed-off-by: Matthew Garrett
Tested-by: Grant Likely