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:
4a1dc3f
)
drm/i915: Enable GMBUS for post-gen2 chipsets
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 1 Feb 2011 09:01:13 +0000
(09:01 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 1 Feb 2011 09:01:13 +0000
(09:01 +0000)
With the recent SDVO fix, this is working on all the machines I have to
hand - except for an 845G.
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 58040f68ed7a7daa4496036a6570a6c095f09bb2..82d04c5899d27d9942c4fa47a3222f21d3e97993 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_i2c.c
+++ b/
drivers/gpu/drm/i915/intel_i2c.c
@@
-384,7
+384,8
@@
int intel_setup_gmbus(struct drm_device *dev)
bus->reg0 = i | GMBUS_RATE_100KHZ;
/* XXX force bit banging until GMBUS is fully debugged */
- bus->force_bit = intel_gpio_create(dev_priv, i);
+ if (IS_GEN2(dev))
+ bus->force_bit = intel_gpio_create(dev_priv, i);
}
intel_i2c_reset(dev_priv->dev);