]> git.baikalelectronics.ru Git - kernel.git/commit
CHROMIUM: i915: Add DMI override to skip CRT initialization on ZGB
authorDuncan Laurie <dlaurie@chromium.org>
Tue, 25 Oct 2011 22:42:21 +0000 (15:42 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 Jan 2012 20:30:25 +0000 (12:30 -0800)
commitecd4d30220cc291ff8cebbb4d9bb94b41aa2421d
tree74f9d8fe3f517e7be9da6d0bcbcdea05eeaed0ee
parentf1e180a321ae1fa114b7980fe491695810e16746
CHROMIUM: i915: Add DMI override to skip CRT initialization on ZGB

This is the method used to override LVDS in intel_lvds and appears to be
an effective way to ensure that the driver does not enable VGA hotplug.

This is the same patch from 2.6.32 kernel in R12 but ported to 2.6.38,
will send upstream next.

Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
BUG=chrome-os-partner:117
TEST=Check PORT_HOTPLUG_EN to see if hotplug interrupt is disabled.
Run the following command as root, specifically looking at bit 9:
mmio_read32 $[$(pci_read32 0 2 0 0x10) + 0x61110] = 0x00000000

Change-Id: Id8240f9fb31d058d8d79ee72f7b4615c43893f5a
Reviewed-on: http://gerrit.chromium.org/gerrit/1390
Reviewed-by: Olof Johansson <olofj@chromium.org>
Tested-by: Duncan Laurie <dlaurie@chromium.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_crt.c