projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e957d77
)
drm/i915: Use i2c bit banging instead of GMBUS
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 28 Sep 2010 12:35:47 +0000
(13:35 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 28 Sep 2010 12:35:47 +0000
(13:35 +0100)
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>
drivers/gpu/drm/i915/intel_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_i2c.c
b/drivers/gpu/drm/i915/intel_i2c.c
index 91920247d4ff19325785c963adfd2de2ce5e226b..2449a74d4d8030c3222006bd96b46566aac1f819 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_i2c.c
+++ b/
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);