drm/i915: enable gmbus on gen2
Subsystems (2)
PATCH 1/1 drm/i915: enable gmbus on gen2
With the recent set of gmbus fixes, this seems to work on my i855gm.
--- drivers/gpu/drm/i915/intel_i2c.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_i2c.c +0 -4
@@ -388,10 +388,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);
Signature · 1 line
1.7.8.3
Hi Chris,
Given that you're about the only other gen2 user I know ... can you ack this patch for inclusion into 3.5?
Thanks, Daniel
Quoted 25 lines · Daniel Vetter
With the recent set of gmbus fixes, this seems to work on my i855gm.
Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/i915/intel_i2c.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/intel_i2c.c +0
-4@@ -388,10 +388,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);Signature · 1 line
1.7.8.3
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48
Quoted 4 lines · Daniel Vetter
Hi Chris,
Given that you're about the only other gen2 user I know ... can you ack this patch for inclusion into 3.5?
Sure, I'll start building a kernel for the 855gm.
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Chris Wilson
Acked-byQuoted 4 lines · Daniel Vetter
Hi Chris,
Given that you're about the only other gen2 user I know ... can you ack this patch for inclusion into 3.5?
It boots, but it didn't manage to acquire the EDID for CRT. Then again, that fails using GPIO as well... (The good news is that it fails quicker and quieter using GMBUS!)
So it appears to be no worse than before,
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Quoted 6 lines · Chris Wilson
Quoted 4 lines · Daniel Vetter
Hi Chris,
Given that you're about the only other gen2 user I know ... can you ack this patch for inclusion into 3.5?
Quoted 6 lines
It boots, but it didn't manage to acquire the EDID for CRT. Then again, that fails using GPIO as well... (The good news is that it fails quicker and quieter using GMBUS!)
So it appears to be no worse than before,
Acked-by Chris Wilson <[email protected]>
Edid reading works here, both with gmbus and bit-banging. Thanks for testing this, queued for -next.
-Daniel
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48