Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernel2632.git;a=commitdiff;h=3b566b9190eb5ea11a6b028816a88ece3051c50d

commit 3b566b9190eb5ea11a6b028816a88ece3051c50d
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Dec 5 12:20:43 2009 +0100

kernel-2.6.32-1-i686

- add patch to work around
http://bugs.freedesktop.org/show_bug.cgi?id=25417

diff --git a/source/base/kernel/FrugalBuild b/source/base/kernel/FrugalBuild
index c5fbc37..eae0db2 100644
--- a/source/base/kernel/FrugalBuild
+++ b/source/base/kernel/FrugalBuild
@@ -1,4 +1,6 @@
# Compiling Time: 30.38 SBU
# Maintainer: Miklos Vajna <vmik...@frugalware.org>

+# See http://bugs.freedesktop.org/show_bug.cgi?id=25417
+_F_kernel_patches=(kernel-revert-drm-i915-use-ACPI-LID-status-for-LVDS-detect.patch)
Finclude kernel
diff --git 
a/source/base/kernel/kernel-revert-drm-i915-use-ACPI-LID-status-for-LVDS-detect.patch
 
b/source/base/kernel/kernel-revert-drm-i915-use-ACPI-LID-status-for-LVDS-detect.patch
new file mode 100644
index 0000000..3947b4e
--- /dev/null
+++ 
b/source/base/kernel/kernel-revert-drm-i915-use-ACPI-LID-status-for-LVDS-detect.patch
@@ -0,0 +1,35 @@
+From 28fe7dd86ad6090baf3f9fbd76155c1c3aff8f99 Mon Sep 17 00:00:00 2001
+From: Miklos Vajna <vmik...@frugalware.org>
+Date: Sat, 5 Dec 2009 04:57:10 +0100
+Subject: [PATCH] Revert "drm/i915: use ACPI LID status for LVDS ->detect hook"
+
+This reverts commit b42d4c5c6a872815d711e5d51a600f5122c38eee.
+
+Conflicts:
+
+       drivers/gpu/drm/i915/intel_lvds.c
+---
+ drivers/gpu/drm/i915/intel_lvds.c |    7 +------
+ 1 files changed, 1 insertions(+), 6 deletions(-)
+
+diff --git a/drivers/gpu/drm/i915/intel_lvds.c 
b/drivers/gpu/drm/i915/intel_lvds.c
+index 05598ae..2c4da8d 100644
+--- a/drivers/gpu/drm/i915/intel_lvds.c
++++ b/drivers/gpu/drm/i915/intel_lvds.c
+@@ -620,12 +620,7 @@ static const struct dmi_system_id bad_lid_status[] = {
+  */
+ static enum drm_connector_status intel_lvds_detect(struct drm_connector 
*connector)
+ {
+-      enum drm_connector_status status = connector_status_connected;
+-
+-      if (!acpi_lid_open() && !dmi_check_system(bad_lid_status))
+-              status = connector_status_disconnected;
+-
+-      return status;
++      return connector_status_connected;
+ }
+
+ /**
+--
+1.6.5.3
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to