summaryrefslogtreecommitdiffstats
path: root/drm-intel-eeebox-eb1007-quirk.patch
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-04-07 14:01:43 +0200
committerHans de Goede <hdegoede@redhat.com>2011-04-07 14:01:43 +0200
commit042ba03b683a8705f44d86b5283cb84de54d4970 (patch)
treeabcc9e9bc82a5b9735b68e0048d21061d341a4bd /drm-intel-eeebox-eb1007-quirk.patch
parent289e9e97cac8127052333b92403cbb4bf9366b47 (diff)
downloadkernel-042ba03b683a8705f44d86b5283cb84de54d4970.tar.gz
kernel-042ba03b683a8705f44d86b5283cb84de54d4970.tar.xz
kernel-042ba03b683a8705f44d86b5283cb84de54d4970.zip
Add a no lvds quirk for the Asus EB1007 to the i915 drm driver,
this fixes gnome-shell not working on it
Diffstat (limited to 'drm-intel-eeebox-eb1007-quirk.patch')
-rw-r--r--drm-intel-eeebox-eb1007-quirk.patch36
1 files changed, 36 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
+