drm/i915: enable gmbus on gen2
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 2 Mar 2012 18:38:30 +0000 (19:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 25 Mar 2012 20:35:14 +0000 (22:35 +0200)
With the recent set of gmbus fixes, this seems to work on my i855gm.

Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_i2c.c

index 1486c76e51ac217f4c6ed9c4f6df667fc47c854c..0713cc289119b5317fb491f88d7a62b915bcf5a2 100644 (file)
@@ -389,10 +389,6 @@ int intel_setup_gmbus(struct drm_device *dev)
                bus->reg0 = i | GMBUS_RATE_100KHZ;
 
                bus->has_gpio = intel_gpio_setup(bus, i);
-
-               /* XXX force bit banging until GMBUS is fully debugged */
-               if (bus->has_gpio && IS_GEN2(dev))
-                       bus->force_bit = true;
        }
 
        intel_i2c_reset(dev_priv->dev);