Ver código fonte

drm/i915: Use i2c bit banging instead of GMBUS

There are several reported instances of GMBUS failing to successfully
read the EDID, so revert back to bit banging until the issue is
resolved.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30371
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson 14 anos atrás
pai
commit
cb8ea7527b
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      drivers/gpu/drm/i915/intel_i2c.c

+ 3 - 0
drivers/gpu/drm/i915/intel_i2c.c

@@ -379,6 +379,9 @@ int intel_setup_gmbus(struct drm_device *dev)
 
 		/* By default use a conservative clock rate */
 		bus->reg0 = i | GMBUS_RATE_100KHZ;
+
+		/* XXX force bit banging until GMBUS is fully debugged */
+		bus->force_bit = intel_gpio_create(dev_priv, i);
 	}
 
 	intel_i2c_reset(dev_priv->dev);