aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_mode_config.h
diff options
context:
space:
mode:
authorRamalingam C <ramalingam.c@intel.com>2019-05-07 21:57:35 +0530
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-05-09 09:44:41 +0200
commit585b000de23ba06818975734da2303bd6ba2dcdd (patch)
tree700a8daaece08b415ab052b2a6687c842acfca27 /include/drm/drm_mode_config.h
parentdrm/i915: Seal races between async GPU cancellation, retirement and signaling (diff)
downloadwireguard-linux-585b000de23ba06818975734da2303bd6ba2dcdd.tar.xz
wireguard-linux-585b000de23ba06818975734da2303bd6ba2dcdd.zip
drm: move content protection property to mode_config
Content protection property is created once and stored in drm_mode_config. And attached to all HDCP capable connectors. Signed-off-by: Ramalingam C <ramalingam.c@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Dave Airlie <airlied@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190507162745.25600-2-ramalingam.c@intel.com
Diffstat (limited to 'include/drm/drm_mode_config.h')
-rw-r--r--include/drm/drm_mode_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index 7f60e8eb269a..5764ee3c7453 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -836,6 +836,12 @@ struct drm_mode_config {
*/
struct drm_property *writeback_out_fence_ptr_property;
+ /**
+ * @content_protection_property: DRM ENUM property for content
+ * protection. See drm_connector_attach_content_protection_property().
+ */
+ struct drm_property *content_protection_property;
+
/* dumb ioctl parameters */
uint32_t preferred_depth, prefer_shadow;