All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: enable gmbus on gen2
@ 2012-03-02 18:38 Daniel Vetter
  2012-03-24 15:08 ` Daniel Vetter
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Vetter @ 2012-03-02 18:38 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

With the recent set of gmbus fixes, this seems to work on my i855gm.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/intel_i2c.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c
index 601c86e..8f66397 100644
--- a/drivers/gpu/drm/i915/intel_i2c.c
+++ b/drivers/gpu/drm/i915/intel_i2c.c
@@ -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);
-- 
1.7.8.3

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

* Re: [PATCH] drm/i915: enable gmbus on gen2
  2012-03-02 18:38 [PATCH] drm/i915: enable gmbus on gen2 Daniel Vetter
@ 2012-03-24 15:08 ` Daniel Vetter
  2012-03-24 18:40   ` Chris Wilson
  2012-03-25  8:45   ` Chris Wilson
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Vetter @ 2012-03-24 15:08 UTC (permalink / raw)
  To: Intel Graphics Development, Chris Wilson; +Cc: 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?

Thanks, Daniel

On Fri, Mar 02, 2012 at 07:38:30PM +0100, Daniel Vetter wrote:
> With the recent set of gmbus fixes, this seems to work on my i855gm.
> 
> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
>  drivers/gpu/drm/i915/intel_i2c.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c
> index 601c86e..8f66397 100644
> --- a/drivers/gpu/drm/i915/intel_i2c.c
> +++ b/drivers/gpu/drm/i915/intel_i2c.c
> @@ -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);
> -- 
> 1.7.8.3
> 

-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

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

* Re: [PATCH] drm/i915: enable gmbus on gen2
  2012-03-24 15:08 ` Daniel Vetter
@ 2012-03-24 18:40   ` Chris Wilson
  2012-03-25  8:45   ` Chris Wilson
  1 sibling, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2012-03-24 18:40 UTC (permalink / raw)
  To: Daniel Vetter, Intel Graphics Development; +Cc: Daniel Vetter

On Sat, 24 Mar 2012 16:08:44 +0100, Daniel Vetter <daniel@ffwll.ch> wrote:
> 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

-- 
Chris Wilson, Intel Open Source Technology Centre

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

* Re: [PATCH] drm/i915: enable gmbus on gen2
  2012-03-24 15:08 ` Daniel Vetter
  2012-03-24 18:40   ` Chris Wilson
@ 2012-03-25  8:45   ` Chris Wilson
  2012-03-25 16:40     ` Daniel Vetter
  1 sibling, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2012-03-25  8:45 UTC (permalink / raw)
  To: Daniel Vetter, Intel Graphics Development; +Cc: Daniel Vetter

On Sat, 24 Mar 2012 16:08:44 +0100, Daniel Vetter <daniel@ffwll.ch> wrote:
> 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,
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

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

* Re: [PATCH] drm/i915: enable gmbus on gen2
  2012-03-25  8:45   ` Chris Wilson
@ 2012-03-25 16:40     ` Daniel Vetter
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Vetter @ 2012-03-25 16:40 UTC (permalink / raw)
  To: Chris Wilson; +Cc: Daniel Vetter, Intel Graphics Development

On Sun, Mar 25, 2012 at 09:45:02AM +0100, Chris Wilson wrote:
> On Sat, 24 Mar 2012 16:08:44 +0100, Daniel Vetter <daniel@ffwll.ch> wrote:
> > 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,
> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>

Edid reading works here, both with gmbus and bit-banging. Thanks for
testing this, queued for -next.
-Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

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

end of thread, other threads:[~2012-03-25 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 18:38 [PATCH] drm/i915: enable gmbus on gen2 Daniel Vetter
2012-03-24 15:08 ` Daniel Vetter
2012-03-24 18:40   ` Chris Wilson
2012-03-25  8:45   ` Chris Wilson
2012-03-25 16:40     ` Daniel Vetter

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.