Linux ACPI
 help / color / mirror / Atom feed
From: yakui_zhao <yakui.zhao@intel.com>
To: lenb@kernel.org
Cc: linux-acpi@vger.kernel.org
Subject: [PATCH 1/2]: ACPI: Check whether the acpi video is deferrable only when KMS is enabled
Date: Tue, 14 Apr 2009 11:05:45 +0800	[thread overview]
Message-ID: <1239678345.5564.69.camel@localhost.localdomain> (raw)

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;
 



             reply	other threads:[~2009-04-14  3:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14  3:05 yakui_zhao [this message]
2009-04-14 19:36 ` [PATCH 1/2]: ACPI: Check whether the acpi video is deferrable only when KMS is enabled Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239678345.5564.69.camel@localhost.localdomain \
    --to=yakui.zhao@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox