Skip to contentSkip to conversation

Revert "drm/i915: reenable gmbus on gen3+ again"

PATCH In review Daniel Vetter 3 participants 3 messages Apr 9, 2012 – Apr 11, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "drm/i915: reenable gmbus on gen3+ again"

This reverts commit c3dfefa0a6d235bd465309e12f4c56ea16e71111.

gmbus in 3.4 has simply too many known issues:
- gmbus is too noisy, we need to rework the logging:
https://bugs.freedesktop.org/show_bug.cgi?id=48248
- zero-lenght writes cause an OOPS, and they are userspace-triggerable:
https://lkml.org/lkml/2012/3/30/176
- same for zero-lenght reads:
https://bugs.freedesktop.org/show_bug.cgi?id=48269

We can try again for 3.5.

---
 drivers/gpu/drm/i915/intel_i2c.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/i915/intel_i2c.c +1 -1
index 601c86e..8fdc957 100644
@@ -390,7 +390,7 @@ int intel_setup_gmbus(struct drm_device *dev)
 		bus->has_gpio = intel_gpio_setup(bus, i);
 
 		/* XXX force bit banging until GMBUS is fully debugged */
-		if (bus->has_gpio && IS_GEN2(dev))
+		if (bus->has_gpio)
 			bus->force_bit = true;
 	}
 
Signature · 1 line
1.7.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Daniel Vetter

This reverts commit c3dfefa0a6d235bd465309e12f4c56ea16e71111.

gmbus in 3.4 has simply too many known issues:
- gmbus is too noisy, we need to rework the logging:
https://bugs.freedesktop.org/show_bug.cgi?id=48248
- zero-lenght writes cause an OOPS, and they are

s/lenght/length/

Quoted 3 lines

userspace-triggerable:
https://lkml.org/lkml/2012/3/30/176
- same for zero-lenght reads:

s/lenght/length/

Quoted 5 lines

https://bugs.freedesktop.org/show_bug.cgi?id=48269

We can try again for 3.5.

-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#2 lore raw
Quoted 12 lines · Chris Wilson
Quoted 6 lines · Daniel Vetter

This reverts commit c3dfefa0a6d235bd465309e12f4c56ea16e71111.

gmbus in 3.4 has simply too many known issues:
- gmbus is too noisy, we need to rework the logging:
https://bugs.freedesktop.org/show_bug.cgi?id=48248
- zero-lenght writes cause an OOPS, and they are

s/lenght/length/

Quoted 3 lines

userspace-triggerable:
https://lkml.org/lkml/2012/3/30/176
- same for zero-lenght reads:

Quoted 7 lines

s/lenght/length/

Quoted 5 lines

https://bugs.freedesktop.org/show_bug.cgi?id=48269

We can try again for 3.5.

I've picked this one for -fixes.
-Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48