Skip to content

Commit

Permalink
drm/i915: disable gmbus on i830
Browse files Browse the repository at this point in the history
The hw just returns garbage.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49838
Reported-and-tested-by: Vladyslav <DFEW.Entwickler@googlemail.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Daniel Vetter committed May 19, 2012
1 parent edc912f commit 83ee9e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/i915/intel_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,10 @@ int intel_setup_gmbus(struct drm_device *dev)
/* By default use a conservative clock rate */
bus->reg0 = port | GMBUS_RATE_100KHZ;

/* gmbus seems to be broken on i830 */
if (IS_I830(dev))
bus->force_bit = true;

intel_gpio_setup(bus, port);
}

Expand Down

0 comments on commit 83ee9e6

Please sign in to comment.