[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-02-02 Thread Simon Farnsworth
On Friday 30 January 2015 20:45:28 Ville Syrjälä wrote: > On Tue, Jan 27, 2015 at 03:43:49PM +, Simon Farnsworth wrote: > > DisplayPort to DVI-D Dual Link adapters designed by Bizlink have bugs in > > their I2C over AUX implementation. They work fine with Windows, but fail > > with Linux. > >

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-30 Thread Ville Syrjälä
On Tue, Jan 27, 2015 at 03:43:49PM +, Simon Farnsworth wrote: > DisplayPort to DVI-D Dual Link adapters designed by Bizlink have bugs in > their I2C over AUX implementation. They work fine with Windows, but fail > with Linux. > > It turns out that they cannot keep an I2C transaction open unles

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-30 Thread Jani Nikula
On Tue, 27 Jan 2015, Simon Farnsworth wrote: > DisplayPort to DVI-D Dual Link adapters designed by Bizlink have bugs in > their I2C over AUX implementation. They work fine with Windows, but fail > with Linux. > > It turns out that they cannot keep an I2C transaction open unless the > previous read

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-29 Thread Ville Syrjälä
On Thu, Jan 29, 2015 at 02:24:09PM +, Simon Farnsworth wrote: > On Thursday 29 January 2015 15:30:36 you wrote: > > On Tue, Jan 27, 2015 at 03:43:49PM +, Simon Farnsworth wrote: > --snip-- > > > diff --git a/drivers/gpu/drm/drm_dp_helper.c > > > b/drivers/gpu/drm/drm_dp_helper.c > > > inde

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-29 Thread Ville Syrjälä
On Tue, Jan 27, 2015 at 03:43:49PM +, Simon Farnsworth wrote: > DisplayPort to DVI-D Dual Link adapters designed by Bizlink have bugs in > their I2C over AUX implementation. They work fine with Windows, but fail > with Linux. > > It turns out that they cannot keep an I2C transaction open unles

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-29 Thread Simon Farnsworth
On Thursday 29 January 2015 16:36:55 Ville Syrjälä wrote: > On Thu, Jan 29, 2015 at 02:24:09PM +, Simon Farnsworth wrote: > > On Thursday 29 January 2015 15:30:36 you wrote: > > > On Tue, Jan 27, 2015 at 03:43:49PM +, Simon Farnsworth wrote: --snip-- > > > > + DRM_DEBUG_KMS("Partial

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-29 Thread Simon Farnsworth
On Thursday 29 January 2015 15:30:36 you wrote: > On Tue, Jan 27, 2015 at 03:43:49PM +, Simon Farnsworth wrote: --snip-- > > diff --git a/drivers/gpu/drm/drm_dp_helper.c > > b/drivers/gpu/drm/drm_dp_helper.c > > index 79968e3..3db116c 100644 > > --- a/drivers/gpu/drm/drm_dp_helper.c > > +++ b/

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-28 Thread Daniel Vetter
On Wed, Jan 28, 2015 at 11:09:21AM +0200, Jani Nikula wrote: > On Tue, 27 Jan 2015, Simon Farnsworth > wrote: > > DisplayPort to DVI-D Dual Link adapters designed by Bizlink have bugs in > > their I2C over AUX implementation. They work fine with Windows, but fail > > with Linux. > > > > It turns

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-28 Thread Jani Nikula
On Tue, 27 Jan 2015, Simon Farnsworth wrote: > DisplayPort to DVI-D Dual Link adapters designed by Bizlink have bugs in > their I2C over AUX implementation. They work fine with Windows, but fail > with Linux. > > It turns out that they cannot keep an I2C transaction open unless the > previous read

[PATCH v3] drm/dp: Use large transactions for I2C over AUX

2015-01-27 Thread Simon Farnsworth
DisplayPort to DVI-D Dual Link adapters designed by Bizlink have bugs in their I2C over AUX implementation. They work fine with Windows, but fail with Linux. It turns out that they cannot keep an I2C transaction open unless the previous read was 16 bytes; shorter reads can only be followed by a ze