]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/bridge: cadence: cdns-mhdp8546-core: Handle HDCP state in bridge atomic check
authorHarikrishna Shenoy <h-shenoy@ti.com>
Tue, 9 Dec 2025 12:03:29 +0000 (17:33 +0530)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Mon, 9 Mar 2026 17:57:19 +0000 (18:57 +0100)
commit4a8edd658489ec2a3d7e20482fa9e8d366153d8d
tree60ca39a89ac007f55bc940904c04d90c8f2aaa29
parent6dbff34016052b099558b76632e4983e2df13fed
drm/bridge: cadence: cdns-mhdp8546-core: Handle HDCP state in bridge atomic check

Now that we have DRM_BRIDGE_ATTACH_NO_CONNECTOR framework, handle the
HDCP state change in bridge atomic check as well to enable correct
functioning for HDCP in both DRM_BRIDGE_ATTACH_NO_CONNECTOR and
!DRM_BRIDGE_ATTACH_NO_CONNECTOR case.

Without this patch, when using DRM_BRIDGE_ATTACH_NO_CONNECTOR flag, HDCP
state changes would not be properly handled during atomic commits,
potentially leading to HDCP authentication failures or incorrect
protection status for content requiring HDCP encryption.

Fixes: 6a3608eae6d33 ("drm: bridge: cdns-mhdp8546: Enable HDCP")
Signed-off-by: Harikrishna Shenoy <h-shenoy@ti.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patch.msgid.link/20251209120332.3559893-4-h-shenoy@ti.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c