backlight and output sysfs support for acpi video driver
Subsystems (2)
PATCH 3/5 backlight and output sysfs support for acpi video driver
Patch 3/5:
1. Adds backlight and output sysfs support for acpi video driver.
2. several minor coding style fixes and cleanup.
Signed-off-by Luming Yu <[email protected]>
--
acpi/Kconfig | 2 acpi/video.c | 323 +++++++++++++++++++++++++++++++++++++++++++++------------ video/Kconfig | 9 + video/Makefile | 1 4 files changed, 266 insertions(+), 69 deletions(-)
drivers/acpi/Kconfig +1 -1
@@ -106,7 +106,7 @@ config ACPI_BUTTON config ACPI_VIDEO tristate "Video" - depends on X86 + depends on X86 && (BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL) help This driver implement the ACPI Extensions For Display Adapters for integrated graphics devices on motherboard, as specified in
drivers/acpi/video.c +255 -68
505 lines not on this page · raw message
drivers/video/Kconfig +9 -0
@@ -1644,5 +1644,14 @@ if SYSFS source "drivers/video/backlight/Kconfig" endif + +config VIDEO_OUTPUT_CONTROL + tristate "Video Output Switcher control" + depends on SYSFS + ---help--- + The output sysfs class driver is to provide video output abstract + layer that can be used to hook platform specific driver methods + to enable/disable display output device through common sysfs + interface. endmenu
drivers/video/Makefile +1 -0
@@ -108,3 +108,4 @@ obj-$(CONFIG_FB_OF) += off # the test framebuffer is last obj-$(CONFIG_FB_VIRTUAL) += vfb.o +obj-$(CONFIG_VIDEO_OUTPUT_CONTROL) += output.o