drm/i915: Fix DDC on some systems by clearing BIOS GMBUS setup.
authorEric Anholt <eric@anholt.net>
Tue, 1 Dec 2009 19:56:30 +0000 (11:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Feb 2010 15:37:47 +0000 (07:37 -0800)
commit89fcd01fc9e169e4082c842b82cc428b3693f4b3
treedc3bc6ca222eb3f493c989b7a6d5cd23a12f94be
parentde00361567b613202c24bb31d48481da6d9d2959
drm/i915: Fix DDC on some systems by clearing BIOS GMBUS setup.

commit f0217c42c9ab3d772e543f635ce628b9478f70b6 upstream.

This is a sync of a fix I made in the old UMS code.  If the BIOS uses
the GMBUS and doesn't clear that setup, then our bit-banging I2C can
fail, leading to monitors not being detected.

Signed-off-by: Eric Anholt <eric@anholt.net>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_i2c.c