All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "drm/i915: Enable GMBUS for post-gen2 chipsets"
@ 2011-06-04 19:34 Jean Delvare
  2011-06-11 11:28 ` Florian Mickler
  0 siblings, 1 reply; 7+ messages in thread
From: Jean Delvare @ 2011-06-04 19:34 UTC (permalink / raw)
  To: dri-devel; +Cc: Andrew Morton

Revert commit 8f9a3f9b63b8cd3f03be9dc53533f90bd4120e5f. This fixes a
hang when loading the eeprom driver (see bug #35572.) GMBUS will be
re-enabled later, differently.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reported-by: Marek Otahal <markotahal@gmail.com>
Tested-by: Yermandu Patapitafious <yermandu.dev@gmail.com>
Tested-by: Andrew Lutomirski <luto@mit.edu>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Airlie <airlied@linux.ie>
---
 drivers/gpu/drm/i915/intel_i2c.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.39.orig/drivers/gpu/drm/i915/intel_i2c.c	2011-05-20 10:42:40.000000000 +0200
+++ linux-2.6.39/drivers/gpu/drm/i915/intel_i2c.c	2011-06-02 16:26:56.000000000 +0200
@@ -401,8 +401,7 @@ int intel_setup_gmbus(struct drm_device
 		bus->reg0 = i | GMBUS_RATE_100KHZ;
 
 		/* XXX force bit banging until GMBUS is fully debugged */
-		if (IS_GEN2(dev))
-			bus->force_bit = intel_gpio_create(dev_priv, i);
+		bus->force_bit = intel_gpio_create(dev_priv, i);
 	}
 
 	intel_i2c_reset(dev_priv->dev);


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-16 20:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-04 19:34 [PATCH] Revert "drm/i915: Enable GMBUS for post-gen2 chipsets" Jean Delvare
2011-06-11 11:28 ` Florian Mickler
2011-06-11 12:58   ` Jean Delvare
2011-06-14  3:39     ` Dave Airlie
2011-06-16 20:11       ` Jean Delvare
2011-06-16 20:21         ` Chris Wilson
2011-06-16 20:21         ` Dave Airlie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.