[PATCH v6 00/10] drm/bridge: it6505: fix HDCP CTS fail items and add MCCS support

From: Hermes Wu via B4 Relay
Date: Wed Oct 16 2024 - 03:54:36 EST


This is a v6 patch-set.

There are lots of failure items while running HDCP CTS using UNIGRAF DPR-100.
In Order to fix those failures, HDCP flow needs to be changed.

The DisplayPort AUX protocol supports I2C transport.
In Order to support MCCS via the aux channel, the aux-i2c operation is added.

v5->v6:
-keep the commit message wrapped at 72-75 chars.
-[10/10] fix return variable being used without being initialized

v4->v5:
-add more messages for changes.
-[2/10] modified AUX transfer data size judgment.
change for-loop to do-while.
-[7/10] change for-loop to do-while.
-[9/10] change wait timer with timer_after()

links:
https://lore.kernel.org/all/20240926074755.22176-4-Hermes.Wu@xxxxxxxxxx/
https://lore.kernel.org/all/20240926075134.22394-1-Hermes.Wu@xxxxxxxxxx/

v3->v4:
-split changes into patches.

v2->v3:
-split aux read KSV function to a patch.
-[1/3] new in v3
-[2/3] add description of patch

v1->v2:
- ignored.

Hermes Wu (10):
drm/bridge: it6505: Change definition of AUX_FIFO_MAX_SIZE
drm/bridge: it6505: improve AUX operation for edid read
drm/bridge: it6505: add AUX operation for HDCP KSV list read
drm/bridge: it6505: Change definition MAX_HDCP_DOWN_STREAM_COUNT
drm/bridge: it6505: fix HDCP Bstatus check
drm/bridge: it6505: fix HDCP encryption when R0 ready
drm/bridge: it6505: fix HDCP CTS KSV list read with UNIGRAF DPR-100.
drm/bridge: it6505: fix HDCP CTS compare V matching
drm/bridge: it6505: fix HDCP CTS KSV list wait timer
drm/bridge: it6505: add I2C functionality on AUX

Change-Id: Iad0c056d72abf2655081357cf40c3b0d3df916b5
Signed-off-by: Hermes Wu <Hermes.wu@xxxxxxxxxx>
---
Hermes Wu (10):
drm/bridge: it6505: Change definition of AUX_FIFO_MAX_SIZE
drm/bridge: it6505: improve AUX operation for edid read
drm/bridge: it6505: add AUX operation for HDCP KSV list read
drm/bridge: it6505: Change definition MAX_HDCP_DOWN_STREAM_COUNT
drm/bridge: it6505: fix HDCP Bstatus check
drm/bridge: it6505: fix HDCP encryption when R0 ready
drm/bridge: it6505: fix HDCP CTS KSV list read with UNIGRAF DPR-100.
drm/bridge: it6505: fix HDCP CTS compare V matching
drm/bridge: it6505: fix HDCP CTS KSV list wait timer
drm/bridge: it6505: add I2C functionality on AUX

drivers/gpu/drm/bridge/ite-it6505.c | 334 ++++++++++++++++++++++++++++++------
1 file changed, 277 insertions(+), 57 deletions(-)
---
base-commit: b8128f7815ff135f0333c1b46dcdf1543c41b860
change-id: 20241015-upstream-v6-9f4b015fecf7

Best regards,
--
Hermes Wu <Hermes.wu@xxxxxxxxxx>