[kernel/f15/master] i915: Add a no lvds quirk for the Asus EB1007, this fixes gnome-shell
Hans de Goede
jwrdegoede at fedoraproject.org
Thu Apr 7 12:07:49 UTC 2011
commit aef9f107249468a3f12808a9f0eacc7e63bd6af0
Author: Hans de Goede <hdegoede at redhat.com>
Date: Thu Apr 7 14:07:30 2011 +0200
i915: Add a no lvds quirk for the Asus EB1007, this fixes gnome-shell
drm-intel-eeebox-eb1007-quirk.patch | 36 +++++++++++++++++++++++++++++++++++
kernel.spec | 5 ++++
2 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/drm-intel-eeebox-eb1007-quirk.patch b/drm-intel-eeebox-eb1007-quirk.patch
new file mode 100644
index 0000000..9ae3604
--- /dev/null
+++ b/drm-intel-eeebox-eb1007-quirk.patch
@@ -0,0 +1,36 @@
+From ab737b006568d01204cc51368c7e2067eecb2cff Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede at redhat.com>
+Date: Thu, 7 Apr 2011 13:31:57 +0200
+Subject: [PATCH] drm/i915: Add a no lvds quirk for the Asus EeeBox PC EB1007
+
+I found this while figuring out why gnome-shell would not run on my
+Asus EeeBox PC EB1007. As a standalone "pc" this device cleary does not have
+an internal panel, yet it claims it does. Add a quirk to fix this.
+
+Signed-off-by: Hans de Goede <hdegoede at redhat.com>
+---
+ drivers/gpu/drm/i915/intel_lvds.c | 8 ++++++++
+ 1 files changed, 8 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
+index a562bd2..954822a 100644
+--- a/drivers/gpu/drm/i915/intel_lvds.c
++++ b/drivers/gpu/drm/i915/intel_lvds.c
+@@ -724,6 +724,14 @@ static const struct dmi_system_id intel_no_lvds[] = {
+ DMI_MATCH(DMI_PRODUCT_NAME, "U800"),
+ },
+ },
++ {
++ .callback = intel_no_lvds_dmi_callback,
++ .ident = "Asus EeeBox PC EB1007",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer INC."),
++ DMI_MATCH(DMI_PRODUCT_NAME, "EB1007"),
++ },
++ },
+
+ { } /* terminating entry */
+ };
+--
+1.7.4.2
+
diff --git a/kernel.spec b/kernel.spec
index 86409b6..8a0e33b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -680,6 +680,7 @@ Patch1824: drm-intel-next.patch
Patch1825: drm-intel-make-lvds-work.patch
Patch1826: drm-intel-edp-fixes.patch
Patch1827: drm-i915-gen4-has-non-power-of-two-strides.patch
+Patch1828: drm-intel-eeebox-eb1007-quirk.patch
Patch1900: linux-2.6-intel-iommu-igfx.patch
@@ -1314,6 +1315,7 @@ ApplyPatch drm-i915-fix-pipelined-fencing.patch
# rhbz#681285 (i965: crash in brw_wm_surface_state.c::prepare_wm_surfaces()
# where intelObj->mt == NULL)
#ApplyPatch drm-i915-gen4-has-non-power-of-two-strides.patch
+ApplyPatch drm-intel-eeebox-eb1007-quirk.patch
# linux1394 git patches
#ApplyPatch linux-2.6-firewire-git-update.patch
@@ -1974,6 +1976,9 @@ fi
# and build.
%changelog
+* Thu Apr 07 2011 Hans de Goede <hdegoede at redhat.com>
+- i915: Add a no lvds quirk for the Asus EB1007, this fixes gnome-shell
+
* Thu Apr 07 2011 Ben Skeggs <bskeggs at redhat.com> 2.6.38-2.12
- nouveau: switch nv4x back to DMA32 only (rhbz#689825)
More information about the scm-commits
mailing list