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.
v6->v7
-[3/10] add header <linux/bitfield.h> included
links:
https://lore.kernel.org/all/[email protected]/
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/[email protected]/
https://lore.kernel.org/all/[email protected]/
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.
To: Andrzej Hajda <[email protected]>
To: Neil Armstrong <[email protected]>
To: Robert Foss <[email protected]>
To: Laurent Pinchart <[email protected]>
To: Jonas Karlman <[email protected]>
To: Jernej Skrabec <[email protected]>
To: Maarten Lankhorst <[email protected]>
To: Maxime Ripard <[email protected]>
To: Thomas Zimmermann <[email protected]>
To: David Airlie <[email protected]>
To: Simona Vetter <[email protected]>
To: AngeloGioacchino Del Regno <[email protected]>
To: Hermes Wu <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Pin-yen Lin <[email protected]>
Cc: Kenneth Hung <[email protected]>
Cc: Pet Weng <[email protected]>
Change-Id: I7f14eeb18ae70b17ef7e1a8622c590427b0ff2ed
Signed-off-by: Hermes Wu <[email protected]>
---
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 | 335 ++++++++++++++++++++++++++++++------
1 file changed, 278 insertions(+), 57 deletions(-)
---
base-commit: 4d1c251e8889b4629789425fe85adfc6d39666ac
change-id: 20241101-v7-upstream-75ead2f2f567
Best regards,
--
Hermes Wu <[email protected]>