mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
drm/rockchip: add rockchip hdcp drm property define
Add a hdcp drm property for userspace to get hdcp encrypted status. Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com> Change-Id: I9ce516215ff51b389f2ebc72e4939e722aa1aede
This commit is contained in:
@@ -63,6 +63,7 @@ struct iommu_domain;
|
||||
#define RK_IF_PROP_COLOR_FORMAT "color_format"
|
||||
#define RK_IF_PROP_COLOR_DEPTH_CAPS "color_depth_caps"
|
||||
#define RK_IF_PROP_COLOR_FORMAT_CAPS "color_format_caps"
|
||||
#define RK_IF_PROP_ENCRYPTED "hdcp_encrypted"
|
||||
|
||||
enum rockchip_drm_debug_category {
|
||||
VOP_DEBUG_PLANE = BIT(0),
|
||||
@@ -94,6 +95,12 @@ enum rk_if_color_format {
|
||||
RK_IF_FORMAT_MAX,
|
||||
};
|
||||
|
||||
enum rockchip_hdcp_encrypted {
|
||||
RK_IF_HDCP_ENCRYPTED_NONE = 0,
|
||||
RK_IF_HDCP_ENCRYPTED_LEVEL1,
|
||||
RK_IF_HDCP_ENCRYPTED_LEVEL2,
|
||||
};
|
||||
|
||||
struct rockchip_drm_sub_dev {
|
||||
struct list_head list;
|
||||
struct drm_connector *connector;
|
||||
|
||||
Reference in New Issue
Block a user