summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drm-intel-eeebox-eb1007-quirk.patch36
-rw-r--r--kernel.spec6
2 files changed, 42 insertions, 0 deletions
diff --git a/drm-intel-eeebox-eb1007-quirk.patch b/drm-intel-eeebox-eb1007-quirk.patch
new file mode 100644
index 000000000..9ae3604e7
--- /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@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@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 12b9d2256..386ac638b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -673,6 +673,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
@@ -1289,6 +1290,7 @@ ApplyPatch linux-2.6-intel-iommu-igfx.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
@@ -1941,6 +1943,10 @@ fi
# and build.
%changelog
+* Thu Apr 07 2011 Hans de Goede <hdegoede@redhat.com>
+- Add a no lvds quirk for the Asus EB1007 to the i915 drm driver,
+ this fixes gnome-shell not working on it
+
* Wed Apr 06 2011 Kyle McMartin <kmcmartin@redhat.com> 2.6.39-0.rc2.git0.0
- Update to 2.6.39-rc2