i915: Add a no lvds quirk for the Asus EB1007, this fixes gnome-shell

This commit is contained in:
Hans de Goede 2011-04-07 14:07:30 +02:00
parent 91fab41dfb
commit aef9f10724
2 changed files with 41 additions and 0 deletions

View File

@ -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

View File

@ -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@redhat.com>
- i915: Add a no lvds quirk for the Asus EB1007, this fixes gnome-shell
* Thu Apr 07 2011 Ben Skeggs <bskeggs@redhat.com> 2.6.38-2.12
- nouveau: switch nv4x back to DMA32 only (rhbz#689825)