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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b7da2f$q1ffv6@fmsmga001.fm.intel.com>
Date:	Mon, 03 Jan 2011 14:54:53 +0000
From:	Chris Wilson <chris@...is-wilson.co.uk>
To:	Knut Petersen <Knut_Petersen@...nline.de>, 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: Re: [PATCH] Fix i915 drm regression on AOpen i915GMm-HFS motherboard

On Mon, 03 Jan 2011 15:25:05 +0100, Knut Petersen <Knut_Petersen@...nline.de> wrote:
> 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.

Can you try:

diff --git a/drivers/gpu/drm/i915/intel_i2c.c
b/drivers/gpu/drm/i915/intel_i2c.c
index 58040f6..111128d 100644
--- a/drivers/gpu/drm/i915/intel_i2c.c
+++ b/drivers/gpu/drm/i915/intel_i2c.c
@@ -384,7 +384,7 @@ int intel_setup_gmbus(struct drm_device *dev)
                bus->reg0 = i | GMBUS_RATE_100KHZ;
 
                /* XXX force bit banging until GMBUS is fully debugged */
-               bus->force_bit = intel_gpio_create(dev_priv, i);
+               //bus->force_bit = intel_gpio_create(dev_priv, i);
        }
 
        intel_i2c_reset(dev_priv->dev);
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
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