linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2]: ACPI: Check whether the acpi video is deferrable only when KMS is enabled
@ 2009-04-14  3:05 yakui_zhao
  2009-04-14 19:36 ` Matthew Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: yakui_zhao @ 2009-04-14  3:05 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi

From: Zhao Yakui <yakui.zhao@intel.com>

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. 

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
cc: Matthew Garrett <mjg59@srcf.ucam.org>
---
 drivers/acpi/video.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/acpi/video.c
===================================================================
--- linux-2.6.orig/drivers/acpi/video.c	2009-04-14 10:26:30.000000000 +0800
+++ linux-2.6/drivers/acpi/video.c	2009-04-14 10:28:12.000000000 +0800
@@ -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;
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2]: ACPI: Check whether the acpi video is deferrable only when KMS is enabled
  2009-04-14  3:05 [PATCH 1/2]: ACPI: Check whether the acpi video is deferrable only when KMS is enabled yakui_zhao
@ 2009-04-14 19:36 ` Matthew Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2009-04-14 19:36 UTC (permalink / raw)
  To: yakui_zhao; +Cc: lenb, linux-acpi

On Tue, Apr 14, 2009 at 11:05:45AM +0800, yakui_zhao wrote:
> From: Zhao Yakui <yakui.zhao@intel.com>
> 
> 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. 
> 
> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
> cc: Matthew Garrett <mjg59@srcf.ucam.org>

Acked-by: Matthew Garrett <mjg@redhat.com>

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-14 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14  3:05 [PATCH 1/2]: ACPI: Check whether the acpi video is deferrable only when KMS is enabled yakui_zhao
2009-04-14 19:36 ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).