Skip to contentSkip to conversation

: ACPI: Check whether the acpi video is deferrable only when KMS is enabled

PATCH Applied yakui_zhao 2 participants 2 messages Apr 14, 2009 ACPI

lore
Share & tools
lore

yakui_zhao

author
#0 lore raw

PATCH 1/2 : ACPI: Check whether the acpi video is deferrable only when KMS is enabled

From: Zhao Yakui <[email protected]>

weaken the dependency between the I915 driver and ACPI video driver. When the KMS is not enabled in kernel configuration, it will contine the current flowchart.

cc Matthew Garrett <[email protected]>
---
 drivers/acpi/video.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/video.c +1 -1
Index: linux-2.6/drivers/acpi/video.c
===================================================================
@@ -2242,7 +2242,7 @@
 
 static int __init intel_opregion_present(void)
 {
-#if defined(CONFIG_DRM_I915) || defined(CONFIG_DRM_I915_MODULE)
+#if defined(CONFIG_DRM_I915_KMS)
 	struct pci_dev *dev = NULL;
 	u32 address;