]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: it6505: fix HDCP CTS KSV list read with UNIGRAF DPR-100.
authorHermes Wu <hermes.wu@ite.com.tw>
Mon, 30 Dec 2024 10:51:25 +0000 (18:51 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 3 Jan 2025 18:24:32 +0000 (20:24 +0200)
commitaa97239300e3f2a9ecbccf7ebfa240860bdddafb
treee93e797461a62a565017c693e38a2d632274e235
parent8c01b0bae2f9e58f2fee0e811cb90d8331986554
drm/bridge: it6505: fix HDCP CTS KSV list read with UNIGRAF DPR-100.

When running the HDCP CTS test with UNIGRAF DPR-100.
KSV list must be read from DP_AUX_HDCP_KSV_FIFO in an AUX request,
and can not separate with multiple read requests.

The AUX operation command "CMD_AUX_GET_KSV_LIST" reads the KSV list
with AUX FIFO and is able to read DP_AUX_HDCP_KSV_FIFO in an AUX request.

Add it6505_get_ksvlist() which uses CMD_AUX_GET_KSV_LIST operation
to read the KSV list.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Hermes Wu <hermes.wu@ite.com.tw>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241230-v7-upstream-v7-7-e0fdd4844703@ite.corp-partner.google.com
drivers/gpu/drm/bridge/ite-it6505.c