All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Reset i2c connection between xfers
@ 2014-04-04 14:40 Alex Deucher
  2014-04-04 14:40 ` [PATCH 1/3] drm/radeon/dp: handle zero sized i2c over aux transactions Alex Deucher
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alex Deucher @ 2014-04-04 14:40 UTC (permalink / raw)
  To: dri-devel, jani.nikula; +Cc: Alex Deucher

When switching to the new common i2c over aux code,
I ran into problems fetching the EDID on certain DP monitors.
I tracked this down to the lack of bare address packets being
sent between i2c transfers.  This patch set adds that functionality
which brings it back inline with the old drm dpm i2c algo.

Originally, I added flags to note a bare address packet, but after
review switched to sending a zero sized packet instead. Note that I'm
not sure the other drivers that use these helpers currently handle
zero sized packets properly.  I had to fix up radeon to do so.

Alex Deucher (3):
  drm/radeon/dp: handle zero sized i2c over aux transactions
  drm/dp/i2c: send bare addresses to properly reset i2c connections
  drm/radeon/dp: switch to the common i2c over aux code

 drivers/gpu/drm/drm_dp_helper.c            |  53 +++++++-----
 drivers/gpu/drm/radeon/atombios_dp.c       | 132 ++++++-----------------------
 drivers/gpu/drm/radeon/radeon_connectors.c |  44 ++--------
 drivers/gpu/drm/radeon/radeon_display.c    |  11 ++-
 drivers/gpu/drm/radeon/radeon_i2c.c        |  60 +++----------
 drivers/gpu/drm/radeon/radeon_mode.h       |  12 +--
 6 files changed, 85 insertions(+), 227 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2014-04-04 15:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-04 14:40 [PATCH 0/3] Reset i2c connection between xfers Alex Deucher
2014-04-04 14:40 ` [PATCH 1/3] drm/radeon/dp: handle zero sized i2c over aux transactions Alex Deucher
2014-04-04 14:40 ` [PATCH 2/3] drm/dp/i2c: send bare addresses to properly reset i2c connections Alex Deucher
2014-04-04 15:31   ` Ville Syrjälä
2014-04-04 15:32   ` Daniel Vetter
2014-04-04 14:40 ` [PATCH 3/3] drm/radeon/dp: switch to the common i2c over aux code Alex Deucher

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.