Skip to contentSkip to conversation

ACPI video: remove output switching control

PATCH Applied Zhang Rui 2 participants 2 messages Dec 6, 2010 – Dec 14, 2010

Subsystems (4)
lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH 4/7 ACPI video: remove output switching control

Remove the ACPI video output switching control as it never works.

With the patch applied,
ACPI video driver still catches the video output notification, but it does nothing but raises the notification to userspace.

---
 Documentation/kernel-parameters.txt |    5 --
 drivers/acpi/video.c                |   86 ------------------------------------
 drivers/acpi/video_detect.c         |   57 +----------------------
 drivers/gpu/drm/Kconfig             |    1 
 drivers/gpu/stub/Kconfig            |    1 
 5 files changed, 4 insertions(+), 146 deletions(-)
Documentation/kernel-parameters.txt +0 -5
Index: linux-2.6/Documentation/kernel-parameters.txt
===================================================================
@@ -199,11 +199,6 @@ and is between 256 and 4096 characters. 
 			unusable.  The "log_buf_len" parameter may be useful
 			if you need to capture more output.
 
-	acpi_display_output=	[HW,ACPI]
-			acpi_display_output=vendor
-			acpi_display_output=video
-			See above.
-
 	acpi_irq_balance [HW,ACPI]
 			ACPI will balance active IRQs
 			default in APIC mode
drivers/acpi/video.c +0 -86

140 lines not on this page · raw message

drivers/acpi/video_detect.c +4 -53

90 lines not on this page · raw message

drivers/gpu/drm/Kconfig +0 -1
Index: linux-2.6/drivers/gpu/drm/Kconfig
===================================================================
@@ -107,7 +107,6 @@ config DRM_I915
 	select FB_CFB_IMAGEBLIT
 	# i915 depends on ACPI_VIDEO when ACPI is enabled
 	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
-	select VIDEO_OUTPUT_CONTROL if ACPI
 	select BACKLIGHT_CLASS_DEVICE if ACPI
 	select INPUT if ACPI
 	select ACPI_VIDEO if ACPI
drivers/gpu/stub/Kconfig +0 -1
Index: linux-2.6/drivers/gpu/stub/Kconfig
===================================================================
@@ -3,7 +3,6 @@ config STUB_POULSBO
 	depends on PCI
 	# Poulsbo stub depends on ACPI_VIDEO when ACPI is enabled
 	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
-	select VIDEO_OUTPUT_CONTROL if ACPI
 	select BACKLIGHT_CLASS_DEVICE if ACPI
 	select INPUT if ACPI
 	select ACPI_VIDEO if ACPI
reviewer Applied
#1 lore raw

applied

thanks,
Len Brown, Intel Open Source Technology Center