All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix I2C-Over-AUX handling
@ 2025-04-24  3:07 Wayne Lin
  2025-04-24  3:07 ` [PATCH 1/2] drm/dp: Correct Write_Status_Update_Request handling Wayne Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Wayne Lin @ 2025-04-24  3:07 UTC (permalink / raw)
  To: dri-devel
  Cc: ville.syrjala, jani.nikula, mario.limonciello, harry.wentland,
	Wayne Lin

These two patches are trying to fix how we handle I2C-Over_AUX
transactions when sink side can only complte partial data at one time.

We encounter EDID reading error with specific monitor and cause mode
list can only be lower resolutions. After analysis, the monitor will
reply I2C_ACK|AUX_ACK followed by a byte indicating the read data length
fewer than the requested one. Under this case, we should update the
request length and request again. Code we have today doesn't handle
such case.

Meanwhile, how we handle Write_Status_Update_Request for I2C write over
AUX transactions seems wrong as well. The request format should be address
only transaction without length and data, and we don't really send it out.
Further more, it should be constrained for I2C write case only. Not
for I2C read request.

1st patch to fix the I2C write problem and 2nd one to fix the I2C read.

---
Wayne Lin (2):
  drm/dp: Correct Write_Status_Update_Request handling
  drm/dp: Add handling for partially read under I2-readC-over-AUX

 drivers/gpu/drm/display/drm_dp_helper.c | 28 +++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-04-27  9:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24  3:07 [PATCH 0/2] Fix I2C-Over-AUX handling Wayne Lin
2025-04-24  3:07 ` [PATCH 1/2] drm/dp: Correct Write_Status_Update_Request handling Wayne Lin
2025-04-25 14:47   ` Ville Syrjälä
2025-04-27  9:47     ` Lin, Wayne
2025-04-24  3:07 ` [PATCH 2/2] drm/dp: Add handling for partially read under I2-readC-over-AUX Wayne Lin
2025-04-24  5:34 ` [PATCH 0/2] Fix I2C-Over-AUX handling Lin, Wayne

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.