public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard
@ 2011-01-03 14:25 Knut Petersen
  2011-01-03 14:54 ` Chris Wilson
  0 siblings, 1 reply; 10+ messages in thread
From: Knut Petersen @ 2011-01-03 14:25 UTC (permalink / raw)
  To: airlied; +Cc: eric, jesse.barnes, Linus Torvalds, linux-kernel, intel-gfx,
	gregkh

Hi everybody!

The AOpen i915GMm-HFS is a desktop motherboard for the Intel Pentium M.
A mobile chipset is used
(Intel 915GM / ICH6-M). Kernel 2.6.31.14 works fine for that mobo, but
from 2.6.32 on graphics support
is broken because the i915 driver "detects" an lvds device with a
resolution of 1024x768 pixels that in reality
is not present. Unfortunately the driver assumes that the "detected"
lvds is the primary screen and uses the
wrong resolution also for the real VGA and DVI connectors.

Obvious solution: The motherboard needs an entry in the intel_no_lvds
blacklist in intel_lvds.c

Kernel version       Comment
======================
2.6.37-rc8-git2      patch applies cleanly and fixes the problem.
2.6.36.2:                patch applies with a few lines offset, fixed
the problem
2.6.32 to 2.6.35:   Not tested
2.6.31 / older         Not needed

Signed-off-by: Knut Petersen <knut_petersen@t-online.de>


--- linux-2.6.37-rc8-git2/drivers/gpu/drm/i915/intel_lvds.c   
2010-12-29 02:05:48.000000000 +0100
+++ linux-2.6.37-rc8-git2-kp/drivers/gpu/drm/i915/intel_lvds.c   
2011-01-03 13:48:38.000000000 +0100
@@ -708,6 +708,14 @@ static const struct dmi_system_id intel_
             DMI_MATCH(DMI_PRODUCT_VERSION, "AO00001JW"),
         },
     },
+        {
+                .callback = intel_no_lvds_dmi_callback,
+                .ident = "AOpen motherboard i915GMm-HFS",
+                .matches = {
+                        DMI_MATCH(DMI_BOARD_VENDOR, "AOpen"),
+                        DMI_MATCH(DMI_BOARD_NAME, "i915GMm-HFS"),
+                },
+        },
     {
         .callback = intel_no_lvds_dmi_callback,
         .ident = "Clientron U800",


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-04-04 16:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-03 14:25 [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard Knut Petersen
2011-01-03 14:54 ` Chris Wilson
2011-01-03 18:12   ` Knut Petersen
2011-01-03 19:45     ` Linus Torvalds
2011-01-03 19:59       ` Chris Wilson
2011-01-03 20:26         ` Linus Torvalds
2012-04-04 16:23           ` Jean Delvare
2011-01-03 23:09         ` Knut Petersen
2011-01-03 23:22           ` Chris Wilson
2011-01-04  0:35             ` Knut Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox