lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D21DC41.8070408@t-online.de>
Date:	Mon, 03 Jan 2011 15:25:05 +0100
From:	Knut Petersen <Knut_Petersen@...nline.de>
To:	airlied@...ux.ie
CC:	eric@...olt.net, jesse.barnes@...el.com,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org,
	intel-gfx <intel-gfx@...ts.freedesktop.org>, gregkh@...e.de
Subject: [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard

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@...nline.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",

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ