diff options
| author | Hsin-Yi Wang <hsinyi@chromium.org> | 2025-08-12 16:17:58 +0800 |
|---|---|---|
| committer | Douglas Anderson <dianders@chromium.org> | 2025-08-20 08:21:40 -0700 |
| commit | 407a2fab3c99c40ad1acedaf028e8222da1f0433 (patch) | |
| tree | 127694c8c206d9a46b0e6ce0b72dbd17451bd535 /include | |
| parent | 2f44bb65f28f5f058fe4ab9bc81e5fde5575c473 (diff) | |
drm_bridge: register content protect property
Some bridges can update HDCP status based on userspace requests if they
support HDCP.
The HDCP property is created after connector initialization and before
registration, just like other connector properties.
Add the content protection property to the connector if a bridge
supports HDCP.
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Fei Shao <fshao@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20250812082135.3351172-2-fshao@chromium.org
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/drm_bridge.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 2ec1b136d603..8d9d4fd078e7 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -1172,6 +1172,10 @@ struct drm_bridge { */ bool pre_enable_prev_first; /** + * @support_hdcp: Indicate that the bridge supports HDCP. + */ + bool support_hdcp; + /** * @ddc: Associated I2C adapter for DDC access, if any. */ struct i2c_adapter *ddc; |
