HDCP2.2 Phase II
v10 cover HDCP2.2 Phase II
Adding the uAPI support for the HDCP content type is the main focus here. Along with that uevent is implemented for the "Content Protection" state change that got triggered by kernel.
v10:
Content Type doc improvement [pekka]
Few suggestions addressed on uevent generation patch [Sean]
Ramalingam C (6):
drm: Add Content protection type property drm/i915: Attach content type property
drm: uevent for connector status change drm/hdcp: update content protection property with uevent drm/i915: update the hdcp state with uevent drm/hdcp: reference for srm file format
drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 67 ++++++++++++++++++-- drivers/gpu/drm/drm_hdcp.c | 77 ++++++++++++++++++++++- drivers/gpu/drm/drm_sysfs.c | 35 +++++++++++ drivers/gpu/drm/i915/display/intel_ddi.c | 39 ++++++++++-- drivers/gpu/drm/i915/display/intel_hdcp.c | 53 ++++++++++------ drivers/gpu/drm/i915/display/intel_hdcp.h | 2 +- include/drm/drm_connector.h | 7 +++ include/drm/drm_hdcp.h | 4 +- include/drm/drm_mode_config.h | 6 ++ include/drm/drm_sysfs.h | 5 +- include/uapi/drm/drm_mode.h | 4 ++ 12 files changed, 269 insertions(+), 34 deletions(-)
Signature · 6 lines
2.19.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v10 1/6 drm: Add Content protection type property
This patch adds a DRM ENUM property to the selected connectors. This property is used for mentioning the protected content's type from userspace to kernel HDCP authentication.
Type of the stream is decided by the protected content providers. Type 0 content can be rendered on any HDCP protected display wires. But Type 1 content can be rendered only on HDCP2.2 protected paths.
So when a userspace sets this property to Type 1 and starts the HDCP enable, kernel will honour it only if HDCP2.2 authentication is through for type 1. Else HDCP enable will be failed.
Need ACK for this new conenctor property from userspace consumer.
v2:
cp_content_type is replaced with content_protection_type [daniel] check at atomic_set_property is removed [Maarten]
v3:
%s/content_protection_type/hdcp_content_type [Pekka]
v4:
property is created for the first requested connector and then reused.
[Danvet]
v5:
kernel doc nits addressed [Daniel]
Rebased as part of patch reordering.
v6:
Kernel docs are modified [pekka]
v7:
More details in Kernel docs. [pekka]
v8:
Few more clarification into kernel doc of content type [pekka]
--- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 50 +++++++++++++++++++++++ drivers/gpu/drm/drm_hdcp.c | 36 +++++++++++++++- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 +- include/drm/drm_connector.h | 7 ++++ include/drm/drm_hdcp.h | 2 +- include/drm/drm_mode_config.h | 6 +++ include/uapi/drm/drm_mode.h | 4 ++ 8 files changed, 110 insertions(+), 3 deletions(-)
drivers/gpu/drm/drm_atomic_uapi.c +4 -0
@@ -747,6 +747,8 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,return -EINVAL ; } state->content_protection = val; + }else if (property == config->hdcp_content_type_property) { + state->hdcp_content_type = val; }else if (property == connector->colorspace_property) { state->colorspace = val; }else if (property == config->writeback_fb_id_property) {
@@ -831,6 +833,8 @@ drm_atomic_connector_get_property(struct drm_connector *connector, state->hdr_output_metadata->base.id : 0; }else if (property == config->content_protection_property) { *val = state->content_protection; + }else if (property == config->hdcp_content_type_property) { + *val = state->hdcp_content_type; }else if (property == config->writeback_fb_id_property) {/* Writeback framebuffer is one-shot, write and forget */ *val =0 ;
drivers/gpu/drm/drm_connector.c +50 -0
56 lines not on this page · raw message
drivers/gpu/drm/drm_hdcp.c +35 -1
@@ -344,23 +344,41 @@ static struct drm_prop_enum_list drm_cp_enum_list[] = { }; DRM_ENUM_NAME_FN(drm_get_content_protection_name, drm_cp_enum_list) +static struct drm_prop_enum_list drm_hdcp_content_type_enum_list[] = { + {DRM_MODE_HDCP_CONTENT_TYPE0 ,"HDCP Type0" }, + {DRM_MODE_HDCP_CONTENT_TYPE1 ,"HDCP Type1" }, +}; +DRM_ENUM_NAME_FN (drm_get_hdcp_content_type_name, + drm_hdcp_content_type_enum_list) +/** * drm_connector_attach_content_protection_property - attach content protection * property * * @connector: connector to attach CP property on. +* @hdcp_content_type: is HDCP Content Type property needed for connector * * This is used to add support for content protection on select connectors. * Content Protection is intentionally vague to allow for different underlying * technologies, however it is most implemented by HDCP. * +* When hdcp_content_type is true enum property called HDCP Content Type is +* created (if it is not already) and attached to the connector. +* +* This property is used for sending the protected content's stream type +* from userspace to kernel on selected connectors. Protected content provider +* will decide their type of their content and declare the same to kernel. +* +* Content type will be used during the HDCP 2.2 authentication. +* Content type will be set to &drm_connector_state.hdcp_content_type. +* * The content protection will be set to &drm_connector_state.content_protection * * Returns: * Zero on success, negative errno on failure. */int drm_connector_attach_content_protection_property ( -struct drm_connector *connector) +struct drm_connector *connector,bool hdcp_content_type) {struct drm_device *dev = connector->dev; struct drm_property *prop =
@@ -377,6 +395,22 @@ int drm_connector_attach_content_protection_property( DRM_MODE_CONTENT_PROTECTION_UNDESIRED); dev->mode_config.content_protection_property = prop; +if (!hdcp_content_type) +return 0 ; + + prop = dev->mode_config.hdcp_content_type_property; +if (!prop) + prop =drm_property_create_enum (dev,0 ,"HDCP Content Type" , + drm_hdcp_content_type_enum_list, +ARRAY_SIZE ( + drm_hdcp_content_type_enum_list)); +if (!prop) +return -ENOMEM ; + +drm_object_attach_property (&connector->base, prop, +DRM_MODE_HDCP_CONTENT_TYPE0 ); + dev->mode_config.hdcp_content_type_property = prop; +return 0 ; }EXPORT_SYMBOL (drm_connector_attach_content_protection_property);
drivers/gpu/drm/i915/display/intel_hdcp.c +3 -1
@@ -1835,7 +1835,9 @@ int intel_hdcp_init(struct intel_connector *connector,if (!shim)return -EINVAL ; - ret =drm_connector_attach_content_protection_property (&connector->base); + ret = +drm_connector_attach_content_protection_property (&connector->base, + false);if (ret)return ret;
include/drm/drm_connector.h +7 -0
@@ -601,6 +601,12 @@ struct drm_connector_state {*/ unsigned int content_type; +/** +* @hdcp_content_type: Connector property to pass the type of +* protected content. This is most commonly used for HDCP. +*/ +unsigned int hdcp_content_type; +/** * @scaling_mode: Connector property to control the * upscaling, mostly used for built-in panels.
@@ -1484,6 +1490,7 @@ const char *drm_get_dvi_i_select_name(int val);const char *drm_get_tv_subconnector_name (int val);const char *drm_get_tv_select_name (int val);const char *drm_get_content_protection_name (int val); +const char *drm_get_hdcp_content_type_name (int val);int drm_mode_create_dvi_i_properties (struct drm_device *dev);int drm_mode_create_tv_margin_properties (struct drm_device *dev);
include/drm/drm_hdcp.h +1 -1
@@ -291,5 +291,5 @@ struct drm_connector;bool drm_hdcp_check_ksvs_revoked (struct drm_device *dev,u8 *ksvs,u32 ksv_count);int drm_connector_attach_content_protection_property ( -struct drm_connector *connector); +struct drm_connector *connector,bool hdcp_content_type);#endif
include/drm/drm_mode_config.h +6 -0
@@ -849,6 +849,12 @@ struct drm_mode_config {*/ struct drm_property *content_protection_property; +/** +* @hdcp_content_type_property: DRM ENUM property for type of +* Protected Content. +*/ +struct drm_property *hdcp_content_type_property; +/* dumb ioctl parameters */ uint32_t preferred_depth, prefer_shadow;
include/uapi/drm/drm_mode.h +4 -0
@@ -218,6 +218,10 @@ extern "C" {#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1#define DRM_MODE_CONTENT_PROTECTION_ENABLED 2 +/* Content Type classification for HDCP2.2 vs others */ +#define DRM_MODE_HDCP_CONTENT_TYPE0 0 +#define DRM_MODE_HDCP_CONTENT_TYPE1 1 +struct drm_mode_modeinfo {__u32 clock;__u16 hdisplay;
Signature · 6 lines
2.19.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v11 1/6 drm: Add Content protection type property
This patch adds a DRM ENUM property to the selected connectors. This property is used for mentioning the protected content's type from userspace to kernel HDCP authentication.
Type of the stream is decided by the protected content providers. Type 0 content can be rendered on any HDCP protected display wires. But Type 1 content can be rendered only on HDCP2.2 protected paths.
So when a userspace sets this property to Type 1 and starts the HDCP enable, kernel will honour it only if HDCP2.2 authentication is through for type 1. Else HDCP enable will be failed.
Need ACK for this new conenctor property from userspace consumer.
v2:
cp_content_type is replaced with content_protection_type [daniel] check at atomic_set_property is removed [Maarten]
v3:
%s/content_protection_type/hdcp_content_type [Pekka]
v4:
property is created for the first requested connector and then reused.
[Danvet]
v5:
kernel doc nits addressed [Daniel]
Rebased as part of patch reordering.
v6:
Kernel docs are modified [pekka]
v7:
More details in Kernel docs. [pekka]
v8:
Few more clarification into kernel doc of content type [pekka]
v9:
Small fixes in coding style.
--- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 51 +++++++++++++++++++++++ drivers/gpu/drm/drm_hdcp.c | 36 +++++++++++++++- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 +- include/drm/drm_connector.h | 7 ++++ include/drm/drm_hdcp.h | 2 +- include/drm/drm_mode_config.h | 6 +++ include/uapi/drm/drm_mode.h | 4 ++ 8 files changed, 111 insertions(+), 3 deletions(-)
drivers/gpu/drm/drm_atomic_uapi.c +4 -0
@@ -747,6 +747,8 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector,return -EINVAL ; } state->content_protection = val; + }else if (property == config->hdcp_content_type_property) { + state->hdcp_content_type = val; }else if (property == connector->colorspace_property) { state->colorspace = val; }else if (property == config->writeback_fb_id_property) {
@@ -831,6 +833,8 @@ drm_atomic_connector_get_property(struct drm_connector *connector, state->hdr_output_metadata->base.id : 0; }else if (property == config->content_protection_property) { *val = state->content_protection; + }else if (property == config->hdcp_content_type_property) { + *val = state->hdcp_content_type; }else if (property == config->writeback_fb_id_property) {/* Writeback framebuffer is one-shot, write and forget */ *val =0 ;
drivers/gpu/drm/drm_connector.c +51 -0
57 lines not on this page · raw message
drivers/gpu/drm/drm_hdcp.c +35 -1
@@ -344,23 +344,41 @@ static struct drm_prop_enum_list drm_cp_enum_list[] = { }; DRM_ENUM_NAME_FN(drm_get_content_protection_name, drm_cp_enum_list) +static struct drm_prop_enum_list drm_hdcp_content_type_enum_list[] = { + {DRM_MODE_HDCP_CONTENT_TYPE0 ,"HDCP Type0" }, + {DRM_MODE_HDCP_CONTENT_TYPE1 ,"HDCP Type1" }, +}; +DRM_ENUM_NAME_FN (drm_get_hdcp_content_type_name, + drm_hdcp_content_type_enum_list) +/** * drm_connector_attach_content_protection_property - attach content protection * property * * @connector: connector to attach CP property on. +* @hdcp_content_type: is HDCP Content Type property needed for connector * * This is used to add support for content protection on select connectors. * Content Protection is intentionally vague to allow for different underlying * technologies, however it is most implemented by HDCP. * +* When hdcp_content_type is true enum property called HDCP Content Type is +* created (if it is not already) and attached to the connector. +* +* This property is used for sending the protected content's stream type +* from userspace to kernel on selected connectors. Protected content provider +* will decide their type of their content and declare the same to kernel. +* +* Content type will be used during the HDCP 2.2 authentication. +* Content type will be set to &drm_connector_state.hdcp_content_type. +* * The content protection will be set to &drm_connector_state.content_protection * * Returns: * Zero on success, negative errno on failure. */int drm_connector_attach_content_protection_property ( -struct drm_connector *connector) +struct drm_connector *connector,bool hdcp_content_type) {struct drm_device *dev = connector->dev; struct drm_property *prop =
@@ -377,6 +395,22 @@ int drm_connector_attach_content_protection_property( DRM_MODE_CONTENT_PROTECTION_UNDESIRED); dev->mode_config.content_protection_property = prop; +if (!hdcp_content_type) +return 0 ; + + prop = dev->mode_config.hdcp_content_type_property; +if (!prop) + prop =drm_property_create_enum (dev,0 ,"HDCP Content Type" , + drm_hdcp_content_type_enum_list, +ARRAY_SIZE ( + drm_hdcp_content_type_enum_list)); +if (!prop) +return -ENOMEM ; + +drm_object_attach_property (&connector->base, prop, +DRM_MODE_HDCP_CONTENT_TYPE0 ); + dev->mode_config.hdcp_content_type_property = prop; +return 0 ; }EXPORT_SYMBOL (drm_connector_attach_content_protection_property);
drivers/gpu/drm/i915/display/intel_hdcp.c +3 -1
@@ -1835,7 +1835,9 @@ int intel_hdcp_init(struct intel_connector *connector,if (!shim)return -EINVAL ; - ret =drm_connector_attach_content_protection_property (&connector->base); + ret = +drm_connector_attach_content_protection_property (&connector->base, + false);if (ret)return ret;
include/drm/drm_connector.h +7 -0
@@ -601,6 +601,12 @@ struct drm_connector_state {*/ unsigned int content_type; +/** +* @hdcp_content_type: Connector property to pass the type of +* protected content. This is most commonly used for HDCP. +*/ +unsigned int hdcp_content_type; +/** * @scaling_mode: Connector property to control the * upscaling, mostly used for built-in panels.
@@ -1484,6 +1490,7 @@ const char *drm_get_dvi_i_select_name(int val);const char *drm_get_tv_subconnector_name (int val);const char *drm_get_tv_select_name (int val);const char *drm_get_content_protection_name (int val); +const char *drm_get_hdcp_content_type_name (int val);int drm_mode_create_dvi_i_properties (struct drm_device *dev);int drm_mode_create_tv_margin_properties (struct drm_device *dev);
include/drm/drm_hdcp.h +1 -1
@@ -291,5 +291,5 @@ struct drm_connector;bool drm_hdcp_check_ksvs_revoked (struct drm_device *dev,u8 *ksvs,u32 ksv_count);int drm_connector_attach_content_protection_property ( -struct drm_connector *connector); +struct drm_connector *connector,bool hdcp_content_type);#endif
include/drm/drm_mode_config.h +6 -0
@@ -849,6 +849,12 @@ struct drm_mode_config {*/ struct drm_property *content_protection_property; +/** +* @hdcp_content_type_property: DRM ENUM property for type of +* Protected Content. +*/ +struct drm_property *hdcp_content_type_property; +/* dumb ioctl parameters */ uint32_t preferred_depth, prefer_shadow;
include/uapi/drm/drm_mode.h +4 -0
@@ -218,6 +218,10 @@ extern "C" {#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1#define DRM_MODE_CONTENT_PROTECTION_ENABLED 2 +/* Content Type classification for HDCP2.2 vs others */ +#define DRM_MODE_HDCP_CONTENT_TYPE0 0 +#define DRM_MODE_HDCP_CONTENT_TYPE1 1 +struct drm_mode_modeinfo {__u32 clock;__u16 hdisplay;
Signature · 6 lines
2.19.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v11 1/6] drm: Add Content protection type property
Quoted 36 lines · On Sun, 14 Jul 2019 16:30:08 +0530 Ramalingam C <[email protected]> wrote:
This patch adds a DRM ENUM property to the selected connectors. This property is used for mentioning the protected content's type from userspace to kernel HDCP authentication.
Type of the stream is decided by the protected content providers. Type 0 content can be rendered on any HDCP protected display wires. But Type 1 content can be rendered only on HDCP2.2 protected paths.
So when a userspace sets this property to Type 1 and starts the HDCP enable, kernel will honour it only if HDCP2.2 authentication is through for type 1. Else HDCP enable will be failed.
Need ACK for this new conenctor property from userspace consumer.
v2:
cp_content_typeis replaced withcontent_protection_type[daniel] check atatomic_set_propertyis removed [Maarten]
v3:
%s/content_protection_type/hdcp_content_type [Pekka]
v4:
property is created for the first requested connector and then reused.
[Danvet]
v5:
kernel doc nits addressed [Daniel]
Rebased as part of patch reordering.
v6:
Kernel docs are modified [pekka]
v7:
More details in Kernel docs. [pekka]
v8:
Few more clarification into kernel doc of content type [pekka]
v9:
Small fixes in coding style.Signed-off-by Ramalingam C <[email protected]>Reviewed-by Daniel Vetter <[email protected]>
Quoted 10 lines
--- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 51 +++++++++++++++++++++++ drivers/gpu/drm/drm_hdcp.c | 36 +++++++++++++++- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 +- include/drm/drm_connector.h | 7 ++++ include/drm/drm_hdcp.h | 2 +- include/drm/drm_mode_config.h | 6 +++ include/uapi/drm/drm_mode.h | 4 ++ 8 files changed, 111 insertions(+), 3 deletions(-)
Snip - sorry, gmail simply refuses to deliver my mail without trimming it hard.
include/uapi/drm/drm_mode.h extern "C" { · line 223
Quoted 12 lines
include/uapi/drm/drm_mode.h +3
-0@@ -218,6 +218,10 @@ extern "C" {#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1#define DRM_MODE_CONTENT_PROTECTION_ENABLED 2 +/* Content Type classification for HDCP2.2 vs others */ +#define DRM_MODE_HDCP_CONTENT_TYPE0 0 +#define DRM_MODE_HDCP_CONTENT_TYPE1 1
Hi,
I still believe that these definitions do not belong in the uapi header. Userspace must use the string names instead.
Otherwise the patch looks fine, though my Weston review is still on-going.
Thanks,
pq
include/uapi/drm/drm_mode.h extern "C" { · line 227
Quoted 4 lines
include/uapi/drm/drm_mode.h +1
-0+struct drm_mode_modeinfo {__u32 clock;__u16 hdisplay;
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v11 1/6] drm: Add Content protection type property
Quoted 69 lines · Pekka Paalanen
Quoted 36 lines · On Sun, 14 Jul 2019 16:30:08 +0530 Ramalingam C <[email protected]> wrote:
This patch adds a DRM ENUM property to the selected connectors. This property is used for mentioning the protected content's type from userspace to kernel HDCP authentication.
Type of the stream is decided by the protected content providers. Type 0 content can be rendered on any HDCP protected display wires. But Type 1 content can be rendered only on HDCP2.2 protected paths.
So when a userspace sets this property to Type 1 and starts the HDCP enable, kernel will honour it only if HDCP2.2 authentication is through for type 1. Else HDCP enable will be failed.
Need ACK for this new conenctor property from userspace consumer.
v2:
cp_content_typeis replaced withcontent_protection_type[daniel] check atatomic_set_propertyis removed [Maarten]
v3:
%s/content_protection_type/hdcp_content_type [Pekka]
v4:
property is created for the first requested connector and then reused.
[Danvet]
v5:
kernel doc nits addressed [Daniel]
Rebased as part of patch reordering.
v6:
Kernel docs are modified [pekka]
v7:
More details in Kernel docs. [pekka]
v8:
Few more clarification into kernel doc of content type [pekka]
v9:
Small fixes in coding style.Signed-off-by Ramalingam C <[email protected]>Reviewed-by Daniel Vetter <[email protected]>Quoted 10 lines
--- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 51 +++++++++++++++++++++++ drivers/gpu/drm/drm_hdcp.c | 36 +++++++++++++++- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 +- include/drm/drm_connector.h | 7 ++++ include/drm/drm_hdcp.h | 2 +- include/drm/drm_mode_config.h | 6 +++ include/uapi/drm/drm_mode.h | 4 ++ 8 files changed, 111 insertions(+), 3 deletions(-)Snip - sorry, gmail simply refuses to deliver my mail without trimming it hard.
include/uapi/drm/drm_mode.h extern "C" { · line 223
Quoted 12 lines
include/uapi/drm/drm_mode.h +3
-0@@ -218,6 +218,10 @@ extern "C" {#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1#define DRM_MODE_CONTENT_PROTECTION_ENABLED 2 +/* Content Type classification for HDCP2.2 vs others */ +#define DRM_MODE_HDCP_CONTENT_TYPE0 0 +#define DRM_MODE_HDCP_CONTENT_TYPE1 1Hi,
Quoted 5 lines
I still believe that these definitions do not belong in the uapi header. Userspace must use the string names instead.
Otherwise the patch looks fine, though my Weston review is still on-going.
I assume that still we need to wait for the weston review completion.
Hence I request you to respond here once you are comfortable with this new uAPI.
Thanks,
- Ram
Quoted 10 lines
Thanks,
pqQuoted 4 lines
include/uapi/drm/drm_mode.h +1
-0+struct drm_mode_modeinfo {__u32 clock;__u16 hdisplay;
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Pekka Paalanen
Acked-byRe: [PATCH v11 1/6] drm: Add Content protection type property
Quoted 73 lines · On Mon, 29 Jul 2019 15:03:16 +0530 Ramalingam C <[email protected]> wrote:
Quoted 72 lines · Pekka Paalanen
Quoted 36 lines · On Sun, 14 Jul 2019 16:30:08 +0530 Ramalingam C <[email protected]> wrote:
This patch adds a DRM ENUM property to the selected connectors. This property is used for mentioning the protected content's type from userspace to kernel HDCP authentication.
Type of the stream is decided by the protected content providers. Type 0 content can be rendered on any HDCP protected display wires. But Type 1 content can be rendered only on HDCP2.2 protected paths.
So when a userspace sets this property to Type 1 and starts the HDCP enable, kernel will honour it only if HDCP2.2 authentication is through for type 1. Else HDCP enable will be failed.
Need ACK for this new conenctor property from userspace consumer.
v2:
cp_content_typeis replaced withcontent_protection_type[daniel] check atatomic_set_propertyis removed [Maarten]
v3:
%s/content_protection_type/hdcp_content_type [Pekka]
v4:
property is created for the first requested connector and then reused.
[Danvet]
v5:
kernel doc nits addressed [Daniel]
Rebased as part of patch reordering.
v6:
Kernel docs are modified [pekka]
v7:
More details in Kernel docs. [pekka]
v8:
Few more clarification into kernel doc of content type [pekka]
v9:
Small fixes in coding style.Signed-off-by Ramalingam C <[email protected]>Reviewed-by Daniel Vetter <[email protected]>Quoted 10 lines
--- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 51 +++++++++++++++++++++++ drivers/gpu/drm/drm_hdcp.c | 36 +++++++++++++++- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 +- include/drm/drm_connector.h | 7 ++++ include/drm/drm_hdcp.h | 2 +- include/drm/drm_mode_config.h | 6 +++ include/uapi/drm/drm_mode.h | 4 ++ 8 files changed, 111 insertions(+), 3 deletions(-)Snip - sorry, gmail simply refuses to deliver my mail without trimming it hard.
include/uapi/drm/drm_mode.h extern "C" { · line 223
Quoted 12 lines
include/uapi/drm/drm_mode.h +3
-0@@ -218,6 +218,10 @@ extern "C" {#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1#define DRM_MODE_CONTENT_PROTECTION_ENABLED 2 +/* Content Type classification for HDCP2.2 vs others */ +#define DRM_MODE_HDCP_CONTENT_TYPE0 0 +#define DRM_MODE_HDCP_CONTENT_TYPE1 1Hi,
I still believe that these definitions do not belong in the uapi header. Userspace must use the string names instead.
Quoted 6 lines
Quoted 2 lines
Otherwise the patch looks fine, though my Weston review is still on-going.
I assume that still we need to wait for the weston review completion.
Hence I request you to respond here once you are comfortable with this new uAPI.
Hi,
yes.
I have completed the Weston DRM-backend review in
https://gitlab.freedesktop.org/wayland/weston/merge_requests/48 and the UAPI for HDCP 2.2 looks good. That Weston MR has some other not-UAPI-related bits I need to read through still, but they have no impact on the UAPI. The userspace is accepted in Weston.
I am also happy with the documentation in these kernel patches.
Therefore, with DRM_MODE_HDCP_CONTENT_TYPE0 and DRM_MODE_HDCP_CONTENT_TYPE1 removed from the kernel UAPI headers, for the kernel documentation and userspace consumer in Weston I give for these HDCP 2.2 Phase II kernel patches:
Let me know, preferably as a comment in the Weston MR, when the kernel patches have landed in the appropriate git tree to unblock merging in Weston, please.
Thanks,
pq
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v11 1/6] drm: Add Content protection type property
Quoted 93 lines · Pekka Paalanen
Quoted 73 lines · On Mon, 29 Jul 2019 15:03:16 +0530 Ramalingam C <[email protected]> wrote:
Quoted 72 lines · Pekka Paalanen
Quoted 36 lines · On Sun, 14 Jul 2019 16:30:08 +0530 Ramalingam C <[email protected]> wrote:
This patch adds a DRM ENUM property to the selected connectors. This property is used for mentioning the protected content's type from userspace to kernel HDCP authentication.
Type of the stream is decided by the protected content providers. Type 0 content can be rendered on any HDCP protected display wires. But Type 1 content can be rendered only on HDCP2.2 protected paths.
So when a userspace sets this property to Type 1 and starts the HDCP enable, kernel will honour it only if HDCP2.2 authentication is through for type 1. Else HDCP enable will be failed.
Need ACK for this new conenctor property from userspace consumer.
v2:
cp_content_typeis replaced withcontent_protection_type[daniel] check atatomic_set_propertyis removed [Maarten]
v3:
%s/content_protection_type/hdcp_content_type [Pekka]
v4:
property is created for the first requested connector and then reused.
[Danvet]
v5:
kernel doc nits addressed [Daniel]
Rebased as part of patch reordering.
v6:
Kernel docs are modified [pekka]
v7:
More details in Kernel docs. [pekka]
v8:
Few more clarification into kernel doc of content type [pekka]
v9:
Small fixes in coding style.Signed-off-by Ramalingam C <[email protected]>Reviewed-by Daniel Vetter <[email protected]>Quoted 10 lines
--- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 51 +++++++++++++++++++++++ drivers/gpu/drm/drm_hdcp.c | 36 +++++++++++++++- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 +- include/drm/drm_connector.h | 7 ++++ include/drm/drm_hdcp.h | 2 +- include/drm/drm_mode_config.h | 6 +++ include/uapi/drm/drm_mode.h | 4 ++ 8 files changed, 111 insertions(+), 3 deletions(-)Snip - sorry, gmail simply refuses to deliver my mail without trimming it hard.
include/uapi/drm/drm_mode.h extern "C" { · line 223
Quoted 12 lines
include/uapi/drm/drm_mode.h +3
-0@@ -218,6 +218,10 @@ extern "C" {#define DRM_MODE_CONTENT_PROTECTION_DESIRED 1#define DRM_MODE_CONTENT_PROTECTION_ENABLED 2 +/* Content Type classification for HDCP2.2 vs others */ +#define DRM_MODE_HDCP_CONTENT_TYPE0 0 +#define DRM_MODE_HDCP_CONTENT_TYPE1 1Hi,
I still believe that these definitions do not belong in the uapi header. Userspace must use the string names instead.
Quoted 6 lines
Quoted 2 lines
Otherwise the patch looks fine, though my Weston review is still on-going.
I assume that still we need to wait for the weston review completion.
Hence I request you to respond here once you are comfortable with this new uAPI.
Hi,
yes.
I have completed the Weston DRM-backend review in
https://gitlab.freedesktop.org/wayland/weston/merge_requests/48 and the UAPI for HDCP 2.2 looks good. That Weston MR has some other not-UAPI-related bits I need to read through still, but they have no impact on the UAPI. The userspace is accepted in Weston.
Quoted 8 lines
I am also happy with the documentation in these kernel patches.
Therefore, with
DRM_MODE_HDCP_CONTENT_TYPE0andDRM_MODE_HDCP_CONTENT_TYPE1removed from the kernel UAPI headers, for the kernel documentation and userspace consumer in Weston I give for these HDCP 2.2 Phase II kernel patches:Acked-by Pekka Paalanen <[email protected]>
Thank you pq.
I will remove those macros from uAPI header as weston dont need it. And use your Acked-by for all the patches in the series.
BR,
-Ram
Quoted 8 lines
Let me know, preferably as a comment in the Weston MR, when the kernel patches have landed in the appropriate git tree to unblock merging in Weston, please.
Thanks,
pq
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v10 2/6 drm/i915: Attach content type property
In reply to Ramalingam CAttaches the content type property for HDCP2.2 capable connectors.
Implements the update of content type from property and apply the restriction on HDCP version selection.
Need ACK for content type property from userspace consumer.
v2:
s/cp_content_type/content_protection_type [daniel] disable at hdcp_atomic_check to avoid check at atomic_set_property
[Maarten]
v3:
s/content_protection_type/hdcp_content_type [Pekka]
v4:
hdcp disable incase of type change is moved into commit [daniel].
v5:
Simplified the Type change procedure. [Daniel]
v6:
Type change with UNDESIRED state is ignored.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 39 ++++++++++++++++---- drivers/gpu/drm/i915/display/intel_hdcp.c | 43 +++++++++++++++-------- drivers/gpu/drm/i915/display/intel_hdcp.h | 2 +- 3 files changed, 62 insertions(+), 22 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +33 -6
@@ -3535,7 +3535,8 @@ static void intel_enable_ddi(struct intel_encoder *encoder,/* Enable hdcp if it's desired */ if (conn_state->content_protection ==DRM_MODE_CONTENT_PROTECTION_DESIRED ) -intel_hdcp_enable (to_intel_connector (conn_state->connector)); +intel_hdcp_enable (to_intel_connector (conn_state->connector), + (u8 )conn_state->hdcp_content_type); } static void intel_disable_ddi_dp(struct intel_encoder *encoder,
@@ -3604,15 +3605,41 @@ static void intel_ddi_update_pipe(struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state) { + struct intel_connector *connector = +to_intel_connector (conn_state->connector); +struct intel_hdcp *hdcp = &connector->hdcp; +bool content_protection_type_changed = + (conn_state->hdcp_content_type != hdcp->content_type && + conn_state->content_protection != +DRM_MODE_CONTENT_PROTECTION_UNDESIRED ); +if (!intel_crtc_has_type (crtc_state,INTEL_OUTPUT_HDMI ))intel_ddi_update_pipe_dp (encoder, crtc_state, conn_state); +/* +* During the HDCP encryption session if Type change is requested, +* disable the HDCP and reenable it with new TYPE value. +*/ if (conn_state->content_protection == -DRM_MODE_CONTENT_PROTECTION_DESIRED ) -intel_hdcp_enable (to_intel_connector (conn_state->connector)); -else if (conn_state->content_protection == -DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) -intel_hdcp_disable (to_intel_connector (conn_state->connector)); +DRM_MODE_CONTENT_PROTECTION_UNDESIRED || + content_protection_type_changed) +intel_hdcp_disable (connector); + +/* +* Mark the hdcp state as DESIRED after the hdcp disable of type +* change procedure. +*/ +if (content_protection_type_changed) { +mutex_lock (&hdcp->mutex); + hdcp->value =DRM_MODE_CONTENT_PROTECTION_DESIRED ; +schedule_work (&hdcp->prop_work); +mutex_unlock (&hdcp->mutex); + } + +if (conn_state->content_protection == +DRM_MODE_CONTENT_PROTECTION_DESIRED || + content_protection_type_changed) +intel_hdcp_enable (connector, (u8 )conn_state->hdcp_content_type); } static void
drivers/gpu/drm/i915/display/intel_hdcp.c +28 -15
105 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_hdcp.h +1 -1
@@ -21,7 +21,7 @@ void intel_hdcp_atomic_check(struct drm_connector *connector, struct drm_connector_state *new_state);int intel_hdcp_init (struct intel_connector *connector,const struct intel_hdcp_shim *hdcp_shim); -int intel_hdcp_enable (struct intel_connector *connector); +int intel_hdcp_enable (struct intel_connector *connector,u8 content_type);int intel_hdcp_disable (struct intel_connector *connector);bool is_hdcp_supported (struct drm_i915_private *dev_priv,enum port port);bool intel_hdcp_capable (struct intel_connector *connector);
Signature · 6 lines
2.19.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v10 3/6 drm: uevent for connector status change
In reply to Ramalingam CDRM API for generating uevent for a status changes of connector's property.
This uevent will have following details related to the status change:
HOTPLUG=1, CONNECTOR=<connector_id> and PROPERTY=<property_id>
Need ACK from this uevent from userspace consumer.
v2:
Minor fixes at KDoc comments [Daniel]
v3:
Check the property is really attached with connector [Daniel]
v4:
Typos and string length suggestions are addressed [Sean]
--- drivers/gpu/drm/drm_sysfs.c | 35 +++++++++++++++++++++++++++++++++++ include/drm/drm_sysfs.h | 5 ++++- 2 files changed, 39 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_sysfs.c +35 -0
@@ -26,6 +26,7 @@#include <drm/drm_sysfs.h> #include "drm_internal.h" +#include "drm_crtc_internal.h" #define to_drm_minor (d) dev_get_drvdata(d)#define to_drm_connector (d) dev_get_drvdata(d)
@@ -325,6 +326,9 @@ void drm_sysfs_lease_event(struct drm_device *dev)* Send a uevent for the DRM device specified by @dev. Currently we only * set HOTPLUG=1 in the uevent environment, but this could be expanded to * deal with other types of events. +* +* Any new uapi should be using the drm_sysfs_connector_status_event() +* for uevents on connector status change. */ void drm_sysfs_hotplug_event (struct drm_device *dev) {
@@ -337,6 +341,37 @@ void drm_sysfs_hotplug_event(struct drm_device *dev) }EXPORT_SYMBOL (drm_sysfs_hotplug_event); +/** +* drm_sysfs_connector_status_event - generate a DRM uevent for connector +* property status change +* @connector: connector on which property status changed +* @property: connector property whose status changed. +* +* Send a uevent for the DRM device specified by @dev. Currently we +* set HOTPLUG=1 and connector id along with the attached property id +* related to the status change. +*/ +void drm_sysfs_connector_status_event (struct drm_connector *connector, +struct drm_property *property) +{ +struct drm_device *dev = connector->dev; +char hotplug_str[] ="HOTPLUG=1" , conn_id[21 ], prop_id[21 ]; +char *envp[4 ] = { hotplug_str, conn_id, prop_id,NULL }; + +WARN_ON (!drm_mode_obj_find_prop_id (&connector->base, + property->base.id)); + +snprintf (conn_id,ARRAY_SIZE (conn_id), +"CONNECTOR=%u" , connector->base.id); +snprintf (prop_id,ARRAY_SIZE (prop_id), +"PROPERTY=%u" , property->base.id); + +DRM_DEBUG ("generating connector status event\n" ); + +kobject_uevent_env (&dev->primary->kdev->kobj,KOBJ_CHANGE , envp); +} +EXPORT_SYMBOL (drm_sysfs_connector_status_event); +static void drm_sysfs_release (struct device *dev) {kfree (dev);
include/drm/drm_sysfs.h +4 -1
@@ -4,10 +4,13 @@struct drm_device ;struct device ; +struct drm_connector ; +struct drm_property ;int drm_class_device_register (struct device *dev);void drm_class_device_unregister (struct device *dev);void drm_sysfs_hotplug_event (struct drm_device *dev); - +void drm_sysfs_connector_status_event (struct drm_connector *connector, +struct drm_property *property);#endif
Signature · 6 lines
2.19.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v10 4/6 drm/hdcp: update content protection property with uevent
In reply to Ramalingam Cdrm function is defined and exported to update a connector's content protection property state and to generate a uevent along with it.
Need ACK for the uevent from userspace consumer.
v2:
Update only when state is different from old one.
v3:
KDoc is added [Daniel]
v4:
KDoc is extended bit more [pekka]
v5:
Uevent usage is documented at kdoc of "Content Protection" also [pekka]
--- drivers/gpu/drm/drm_connector.c | 17 +++++++++++++---- drivers/gpu/drm/drm_hdcp.c | 34 +++++++++++++++++++++++++++++++++ include/drm/drm_hdcp.h | 2 ++ 3 files changed, 49 insertions(+), 4 deletions(-)
drivers/gpu/drm/drm_connector.c +13 -4
@@ -947,10 +947,19 @@ static const struct drm_prop_enum_list hdmi_colorspaces[] = {* - If the state is DESIRED, kernel should attempt to re-authenticate the * link whenever possible. This includes across disable/enable, dpms, * hotplug, downstream device changes, link status failures, etc.. -* - Userspace is responsible for polling the property to determine when -* the value transitions from ENABLED to DESIRED. This signifies the link -* is no longer protected and userspace should take appropriate action -* (whatever that might be). +* - Kernel sends uevent with the connector id and property id through +* @drm_hdcp_update_content_protection, upon below kernel triggered +* scenarios: +* DESIRED -> ENABLED (authentication success) +* ENABLED -> DESIRED (termination of authentication) +* - Please note no uevents for userspace triggered property state changes, +* which can't fail such as +* DESIRED/ENABLED -> UNDESIRED +* UNDESIRED -> DESIRED +* - Userspace is responsible for polling the property or listen to uevents +* to determine when the value transitions from ENABLED to DESIRED. +* This signifies the link is no longer protected and userspace should +* take appropriate action (whatever that might be). * * HDCP Content Type: * This Enum property is used by the userspace to declare the content type
drivers/gpu/drm/drm_hdcp.c +34 -0
@@ -374,6 +374,10 @@ DRM_ENUM_NAME_FN(drm_get_hdcp_content_type_name,* * The content protection will be set to &drm_connector_state.content_protection * +* When kernel triggered content protection state change like DESIRED->ENABLED +* and ENABLED->DESIRED, will use drm_hdcp_update_content_protection() to update +* the content protection state of a connector. +* * Returns: * Zero on success, negative errno on failure. */
@@ -414,3 +418,33 @@ int drm_connector_attach_content_protection_property(return 0 ; }EXPORT_SYMBOL (drm_connector_attach_content_protection_property); + +/** +* drm_hdcp_update_content_protection - Updates the content protection state +* of a connector +* +* @connector: drm_connector on which content protection state needs an update +* @val: New state of the content protection property +* +* This function can be used by display drivers, to update the kernel triggered +* content protection state changes of a drm_connector such as DESIRED->ENABLED +* and ENABLED->DESIRED. No uevent for DESIRED->UNDESIRED or ENABLED->UNDESIRED, +* as userspace is triggering such state change and kernel performs it without +* fail.This function update the new state of the property into the connector's +* state and generate an uevent to notify the userspace. +*/ +void drm_hdcp_update_content_protection (struct drm_connector *connector, +u64 val) +{ +struct drm_device *dev = connector->dev; +struct drm_connector_state *state = connector->state; + +WARN_ON (!drm_modeset_is_locked (&dev->mode_config.connection_mutex)); +if (state->content_protection == val) +return ; + + state->content_protection = val; +drm_sysfs_connector_status_event (connector, + dev->mode_config.content_protection_property); +} +EXPORT_SYMBOL (drm_hdcp_update_content_protection);
include/drm/drm_hdcp.h +2 -0
@@ -292,4 +292,6 @@ bool drm_hdcp_check_ksvs_revoked(struct drm_device *dev, u8 *ksvs, u32 ksv_count);int drm_connector_attach_content_protection_property (struct drm_connector *connector,bool hdcp_content_type); +void drm_hdcp_update_content_protection (struct drm_connector *connector, +u64 val);#endif
Signature · 6 lines
2.19.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v10 5/6 drm/i915: update the hdcp state with uevent
In reply to Ramalingam Cdrm function to update the content protection property state and to generate a uevent is invoked from the intel hdcp property work.
Hence whenever kernel changes the property state, userspace will be updated with a uevent.
Need a ACK for uevent generating uAPI from userspace.
v2:
state update is moved into drm function [daniel]
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +3 -5
@@ -869,7 +869,6 @@ static void intel_hdcp_prop_work(struct work_struct *work) prop_work);struct intel_connector *connector =intel_hdcp_to_connector (hdcp);struct drm_device *dev = connector->base.dev; -struct drm_connector_state *state;drm_modeset_lock (&dev->mode_config.connection_mutex,NULL );mutex_lock (&hdcp->mutex);
@@ -879,10 +878,9 @@ static void intel_hdcp_prop_work(struct work_struct *work)* those to UNDESIRED is handled by core. If value == UNDESIRED, * we're running just after hdcp has been disabled, so just exit */ -if (hdcp->value !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) { - state = connector->base.state; - state->content_protection = hdcp->value; - } +if (hdcp->value !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED ) +drm_hdcp_update_content_protection (&connector->base, + hdcp->value);mutex_unlock (&hdcp->mutex);drm_modeset_unlock (&dev->mode_config.connection_mutex);
Signature · 6 lines
2.19.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v10 6/6 drm/hdcp: reference for srm file format
In reply to Ramalingam CIn the kernel documentation, HDCP specifications links are shared as a reference for SRM table format.
--- drivers/gpu/drm/drm_hdcp.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/gpu/drm/drm_hdcp.c +7 -0
@@ -271,6 +271,13 @@ static void drm_hdcp_request_srm(struct drm_device *drm_dev)* * SRM should be presented in the name of "display_hdcp_srm.bin". * +* Format of the SRM table that userspace needs to write into the binary file +* is defined at +* 1. Renewability chapter on 55th page of HDCP 1.4 specification +* https://www.digital-cp.com/sites/default/files/specifications/HDCP%20Specification%20Rev1_4_Secure.pdf +* 2. Renewability chapter on 63rd page of HDCP 2.2 specification +* https://www.digital-cp.com/sites/default/files/specifications/HDCP%20on%20HDMI%20Specification%20Rev2_2_Final1.pdf +* * Returns: * TRUE on any of the KSV is revoked, else FALSE. */
Signature · 6 lines
2.19.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
RE: [PATCH v10 6/6] drm/hdcp: reference for srm file format
Hi Ram,
Just a minor nitpick.
Regards
Shashank
Quoted 22 lines
-----Original Message-----
From: dri-devel [mailto:[email protected]] On Behalf Of Ramalingam C
Sent: Friday, July 12, 2019 12:30 PM
To: intel-gfx <[email protected]>; dri-devel <dri- [email protected]>; Pekka Paalanen <[email protected]>; Daniel Vetter <[email protected]>
Subject: [PATCH v10 6/6] drm/hdcp: reference for srm file formatIn the kernel documentation, HDCP specifications links are shared as a reference for SRM table format.
Signed-off-by Ramalingam C <[email protected]>--- drivers/gpu/drm/drm_hdcp.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/gpu/drm/drm_hdcp.c index renamed from drivers/gpu/drm/drm_hdcp.c +0
-0
77433ee3d652..803bf8283b83100644
drivers/gpu/drm/drm_hdcp.c static void drm_hdcp_request_srm(struct drm_device · line 277
Quoted 7 lines
drivers/gpu/drm/drm_hdcp.c +3
-0@@ -271,6 +271,13 @@ static void drm_hdcp_request_srm(struct drm_device *drm_dev) * * SRM should be presented in the name of "display_hdcp_srm.bin". * + * Format of the SRM table that userspace needs to write into the + binary file + * is defined at
I would just prefer addition of 2 ',' and a ':', something like:
Format of the SRM table, that the userspace needs to write into the binary file, is defined at:
With this change, please feel free to use:
Quoted 15 lines
drivers/gpu/drm/drm_hdcp.c +9
-1+* 1. Renewability chapter on 55th page of HDCP 1.4 specification +* +https://www.digital-cp.com/sites/default/files/specifications/HDCP%20S +pecification%20Rev1_4_Secure.pdf +* 2. Renewability chapter on 63rd page of HDCP 2.2 specification +* +https://www.digital-cp.com/sites/default/files/specifications/HDCP%20o +n%20HDMI%20Specification%20Rev2_2_Final1.pdf +* * Returns: * TRUE on any of the KSV is revoked, else FALSE. */ --2.19.1
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v10 6/6] drm/hdcp: reference for srm file format
Quoted 37 lines · Shashank
Hi Ram,
Just a minor nitpick.Regards
ShashankQuoted 22 lines
-----Original Message-----
From: dri-devel [mailto:[email protected]] On Behalf Of Ramalingam C
Sent: Friday, July 12, 2019 12:30 PM
To: intel-gfx <[email protected]>; dri-devel <dri- [email protected]>; Pekka Paalanen <[email protected]>; Daniel Vetter <[email protected]>
Subject: [PATCH v10 6/6] drm/hdcp: reference for srm file formatIn the kernel documentation, HDCP specifications links are shared as a reference for SRM table format.
Signed-off-by Ramalingam C <[email protected]>--- drivers/gpu/drm/drm_hdcp.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/gpu/drm/drm_hdcp.c index renamed from drivers/gpu/drm/drm_hdcp.c +0
-0
77433ee3d652..803bf8283b83100644drivers/gpu/drm/drm_hdcp.c static void drm_hdcp_request_srm(struct drm_device · line 277
Quoted 7 lines
drivers/gpu/drm/drm_hdcp.c +3
-0@@ -271,6 +271,13 @@ static void drm_hdcp_request_srm(struct drm_device *drm_dev) * * SRM should be presented in the name of "display_hdcp_srm.bin". * + * Format of the SRM table that userspace needs to write into the + binary file + * is defined atI would just prefer addition of 2 ',' and a ':', something like:
Format of the SRM table, that the userspace needs to write into the binary file, is defined at:
Quoted 2 lines
With this change, please feel free to use:
Reviewed-by Shashank Sharma <[email protected]>
Thanks Shashank.
-Ram
Quoted 16 lines
Quoted 16 lines
drivers/gpu/drm/drm_hdcp.c +9
-1+* 1. Renewability chapter on 55th page of HDCP 1.4 specification +* +https://www.digital-cp.com/sites/default/files/specifications/HDCP%20S +pecification%20Rev1_4_Secure.pdf +* 2. Renewability chapter on 63rd page of HDCP 2.2 specification +* +https://www.digital-cp.com/sites/default/files/specifications/HDCP%20o +n%20HDMI%20Specification%20Rev2_2_Final1.pdf +* * Returns: * TRUE on any of the KSV is revoked, else FALSE. */ --2.19.1
Quoted 4 lines
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for HDCP2.2 Phase II (rev12)
In reply to Ramalingam C== Series Details ==
== Series Details ==
Series: HDCP2.2 Phase II (rev12)
URL : https://patchwork.freedesktop.org/series/57232/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 28740303dddd drm: Add Content protection type property -:93: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #93: FILE: drivers/gpu/drm/drm_connector.c:977: + * + * HDCP2.2 authentication protocol itself takes the "Content Type" as a
-:94: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #94: FILE: drivers/gpu/drm/drm_connector.c:978:
+ * HDCP2.2 authentication protocol itself takes the "Content Type" as a
+ * parameter, which is a input for the DP HDCP2.2 encryption algo.
-:136: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #136: FILE: drivers/gpu/drm/drm_hdcp.c:351:
+};
+DRM_ENUM_NAME_FN(drm_get_hdcp_content_type_name,
-:181: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #181: FILE: drivers/gpu/drm/drm_hdcp.c:404:
+ prop = drm_property_create_enum(dev, 0, "HDCP Content Type",
+ drm_hdcp_content_type_enum_list,
-:182: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #182: FILE: drivers/gpu/drm/drm_hdcp.c:405:
+ ARRAY_SIZE(
total: 0 errors, 2 warnings, 3 checks, 193 lines checked 569600cb1a51 drm/i915: Attach content type property f7cd569cbf59 drm: uevent for connector status change e8160ae672ce drm/hdcp: update content protection property with uevent -:99: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #99: FILE: drivers/gpu/drm/drm_hdcp.c:448:
+ drm_sysfs_connector_status_event(connector,
+ dev->mode_config.content_protection_property);
total: 0 errors, 0 warnings, 1 checks, 72 lines checked 7a4e9b006a3d drm/i915: update the hdcp state with uevent 3808c37ce812 drm/hdcp: reference for srm file format
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for HDCP2.2 Phase II (rev12)
In reply to Ramalingam C== Series Details ==
== Series Details ==
Series: HDCP2.2 Phase II (rev12)
URL : https://patchwork.freedesktop.org/series/57232/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6476 -> Patchwork_13647
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/
Known issues
------------
Here are the changes found in Patchwork_13647 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_create@basic-files:
- fi-icl-u3: [PASS][1] -> [INCOMPLETE][2] ([fdo#107713] / [fdo#109100])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/fi-icl-u3/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [PASS][3] -> [FAIL][4] ([fdo#108511])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/fi-skl-6770hq/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/fi-skl-6770hq/igt@[email protected]
* igt@i915_selftest@live_execlists:
- fi-skl-gvtdvm: [PASS][5] -> [DMESG-FAIL][6] ([fdo#111108])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
#### Possible fixes ####
* igt@gem_basic@create-fd-close:
- fi-icl-u3: [DMESG-WARN][7] ([fdo#107724]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/fi-icl-u3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/fi-icl-u3/igt@[email protected]
* igt@gem_exec_suspend@basic-s4-devices:
- fi-blb-e6850: [INCOMPLETE][9] ([fdo#107718]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/fi-blb-e6850/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/fi-blb-e6850/igt@[email protected]
* igt@i915_selftest@live_contexts:
- fi-icl-dsi: [INCOMPLETE][11] ([fdo#107713] / [fdo#108569]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/fi-icl-dsi/igt@i915_selftest@live_contexts.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/fi-icl-dsi/igt@i915_selftest@live_contexts.html
* igt@prime_vgem@basic-fence-flip:
- fi-ilk-650: [DMESG-WARN][13] ([fdo#106387]) -> [PASS][14] +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/fi-ilk-650/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/fi-ilk-650/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#106387]: https://bugs.freedesktop.org/show_bug.cgi?id=106387
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108511]: https://bugs.freedesktop.org/show_bug.cgi?id=108511
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111108]: https://bugs.freedesktop.org/show_bug.cgi?id=111108
Participating hosts (55 -> 46)
------------------------------
Missing (9): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-pnv-d510 fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_6476 -> Patchwork_13647
CI_DRM_6476: 937f27c3929da58c76da585202c5c00bae9e8b4e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5095: 549e1cdc064c0491a9c4509f42d826ae0e752a07 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13647: 3808c37ce812896c199bb7f1e654acac7e564615 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
3808c37ce812 drm/hdcp: reference for srm file format 7a4e9b006a3d drm/i915: update the hdcp state with uevent e8160ae672ce drm/hdcp: update content protection property with uevent f7cd569cbf59 drm: uevent for connector status change 569600cb1a51 drm/i915: Attach content type property 28740303dddd drm: Add Content protection type property
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for HDCP2.2 Phase II (rev12)
In reply to Ramalingam C== Series Details ==
== Series Details ==
Series: HDCP2.2 Phase II (rev12)
URL : https://patchwork.freedesktop.org/series/57232/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6476_full -> Patchwork_13647_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_13647_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_wait@await-vecs0:
- shard-iclb: [PASS][1] -> [INCOMPLETE][2] ([fdo#107713])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-iclb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-iclb4/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [PASS][3] -> [DMESG-WARN][4] ([fdo#108566]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-apl5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-apl3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: [PASS][5] -> [FAIL][6] ([fdo#105363])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-skl7/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-skl6/igt@[email protected]
* igt@kms_flip@flip-vs-modeset-vs-hang-interruptible:
- shard-hsw: [PASS][7] -> [INCOMPLETE][8] ([fdo#103540])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-hsw5/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-hsw7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-badstride:
- shard-iclb: [PASS][9] -> [FAIL][10] ([fdo#103167]) +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-iclb2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-iclb1/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-skl: [PASS][11] -> [FAIL][12] ([fdo#103191])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-skl5/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [PASS][13] -> [FAIL][14] ([fdo#108145]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-skl7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-skl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [PASS][15] -> [FAIL][16] ([fdo#108145] / [fdo#110403])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-skl8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-skl3/igt@[email protected]
* igt@kms_psr@psr2_dpms:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-iclb2/igt@kms_psr@psr2_dpms.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-iclb6/igt@kms_psr@psr2_dpms.html
* igt@kms_setmode@basic:
- shard-kbl: [PASS][19] -> [FAIL][20] ([fdo#99912])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-kbl2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-kbl7/igt@[email protected]
#### Possible fixes ####
* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [DMESG-WARN][21] ([fdo#108686]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-glk3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-glk4/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x85-random:
- shard-kbl: [FAIL][23] ([fdo#103232]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-kbl7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-kbl6/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-skl: [INCOMPLETE][25] ([fdo#109507]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-skl5/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-skl9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
- shard-iclb: [FAIL][27] ([fdo#103167]) -> [PASS][28] +8 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-apl: [DMESG-WARN][29] ([fdo#108566]) -> [PASS][30] +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-apl1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-apl2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][31] ([fdo#108145]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-skl7/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-skl10/igt@[email protected]
#### Warnings ####
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [DMESG-WARN][33] ([fdo#107724]) -> [SKIP][34] ([fdo#109349])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6476/shard-iclb2/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/shard-iclb6/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109507]: https://bugs.freedesktop.org/show_bug.cgi?id=109507
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_6476 -> Patchwork_13647
CI_DRM_6476: 937f27c3929da58c76da585202c5c00bae9e8b4e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5095: 549e1cdc064c0491a9c4509f42d826ae0e752a07 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13647: 3808c37ce812896c199bb7f1e654acac7e564615 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13647/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for HDCP2.2 Phase II (rev13)
In reply to Ramalingam C== Series Details ==
== Series Details ==
Series: HDCP2.2 Phase II (rev13)
URL : https://patchwork.freedesktop.org/series/57232/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 43052ac85e59 drm: Add Content protection type property -:139: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #139: FILE: drivers/gpu/drm/drm_hdcp.c:351: +}; +DRM_ENUM_NAME_FN(drm_get_hdcp_content_type_name,
-:184: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #184: FILE: drivers/gpu/drm/drm_hdcp.c:404:
+ prop = drm_property_create_enum(dev, 0, "HDCP Content Type",
+ drm_hdcp_content_type_enum_list,
-:185: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #185: FILE: drivers/gpu/drm/drm_hdcp.c:405:
+ ARRAY_SIZE(
total: 0 errors, 0 warnings, 3 checks, 194 lines checked ff9e3bdbc393 drm/i915: Attach content type property 1709913f7795 drm: uevent for connector status change 1f5f95b19ee7 drm/hdcp: update content protection property with uevent -:99: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #99: FILE: drivers/gpu/drm/drm_hdcp.c:448:
+ drm_sysfs_connector_status_event(connector,
+ dev->mode_config.content_protection_property);
total: 0 errors, 0 warnings, 1 checks, 72 lines checked ae7a6974cf9e drm/i915: update the hdcp state with uevent 3d39598367c8 drm/hdcp: reference for srm file format
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for HDCP2.2 Phase II (rev13)
In reply to Ramalingam C== Series Details ==
== Series Details ==
Series: HDCP2.2 Phase II (rev13)
URL : https://patchwork.freedesktop.org/series/57232/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6481 -> Patchwork_13658
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/
Known issues
------------
Here are the changes found in Patchwork_13658 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_exec@basic:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/fi-icl-u3/igt@[email protected]
* igt@i915_module_load@reload:
- fi-blb-e6850: [PASS][3] -> [INCOMPLETE][4] ([fdo#107718])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/fi-blb-e6850/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/fi-blb-e6850/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_reloc@basic-cpu-read-noreloc:
- fi-icl-u3: [DMESG-WARN][5] ([fdo#107724]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/fi-icl-u3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/fi-icl-u3/igt@[email protected]
* igt@i915_selftest@live_client:
- fi-icl-dsi: [INCOMPLETE][7] ([fdo#107713]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/fi-icl-dsi/igt@i915_selftest@live_client.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/fi-icl-dsi/igt@i915_selftest@live_client.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][9] ([fdo#109485]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/fi-kbl-7500u/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- {fi-icl-u4}: [FAIL][11] ([fdo#103167]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/fi-icl-u4/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/fi-icl-u4/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111046 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111046
Participating hosts (54 -> 44)
------------------------------
Missing (10): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-icl-guc fi-byt-clapper fi-bdw-samus fi-cml-u
Build changes
-------------
* Linux: CI_DRM_6481 -> Patchwork_13658
CI_DRM_6481: 2befa0062f52774c76a358927404c46a7ee6ecc9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5096: bb4d55a02dd3e1971f2c091a13b6bd7f0b496e40 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13658: 3d39598367c87ef948e086a336a5ede5c2282c9c @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
3d39598367c8 drm/hdcp: reference for srm file format ae7a6974cf9e drm/i915: update the hdcp state with uevent 1f5f95b19ee7 drm/hdcp: update content protection property with uevent 1709913f7795 drm: uevent for connector status change ff9e3bdbc393 drm/i915: Attach content type property 43052ac85e59 drm: Add Content protection type property
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for HDCP2.2 Phase II (rev13)
In reply to Ramalingam C== Series Details ==
== Series Details ==
Series: HDCP2.2 Phase II (rev13)
URL : https://patchwork.freedesktop.org/series/57232/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6481_full -> Patchwork_13658_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_13658_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#110854])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-iclb4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-iclb5/igt@[email protected]
* igt@gem_workarounds@suspend-resume-fd:
- shard-kbl: [PASS][3] -> [DMESG-WARN][4] ([fdo#108566]) +4 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-kbl2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-kbl1/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [PASS][5] -> [FAIL][6] ([fdo#105767])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-hsw1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-hsw8/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- shard-snb: [PASS][7] -> [INCOMPLETE][8] ([fdo#105411])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-snb4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-snb1/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-ytiled:
- shard-skl: [PASS][9] -> [FAIL][10] ([fdo#103184] / [fdo#103232] / [fdo#108145])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-skl9/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-skl7/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [PASS][11] -> [FAIL][12] ([fdo#105363])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-glk1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-glk2/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-kbl: [PASS][13] -> [FAIL][14] ([fdo#105363])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-kbl6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-kbl2/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [PASS][15] -> [INCOMPLETE][16] ([fdo#103540])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-hsw2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-hsw1/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible:
- shard-skl: [PASS][17] -> [FAIL][18] ([fdo#100368])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-skl7/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-skl5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render:
- shard-iclb: [PASS][19] -> [FAIL][20] ([fdo#103167]) +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [PASS][21] -> [DMESG-WARN][22] ([fdo#108566]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-apl3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-apl7/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-iclb: [PASS][23] -> [FAIL][24] ([fdo#103166])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-iclb6/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-iclb4/igt@[email protected]
* igt@kms_setmode@basic:
- shard-kbl: [PASS][25] -> [FAIL][26] ([fdo#99912])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-kbl3/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-kbl7/igt@[email protected]
* igt@perf@oa-formats:
- shard-hsw: [PASS][27] -> [INCOMPLETE][28] ([fdo#103540] / [fdo#108767])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-hsw4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-hsw8/igt@[email protected]
* igt@perf@polling:
- shard-skl: [PASS][29] -> [FAIL][30] ([fdo#110728])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-skl3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-skl8/igt@[email protected]
#### Possible fixes ####
* igt@gem_pipe_control_store_loop@fresh-buffer:
- shard-apl: [INCOMPLETE][31] ([fdo#103927]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-apl5/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-apl8/igt@[email protected]
* igt@gem_pwrite@big-gtt-forwards:
- shard-iclb: [INCOMPLETE][33] ([fdo#107713] / [fdo#109100]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-iclb1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-iclb6/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-toggle:
- shard-hsw: [FAIL][35] ([fdo#103355]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-hsw5/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-hsw1/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-kbl: [DMESG-WARN][37] ([fdo#108566]) -> [PASS][38] +3 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-kbl1/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-kbl3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- shard-iclb: [FAIL][39] ([fdo#103167]) -> [PASS][40] +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-iclb2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-iclb1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][41] ([fdo#108145] / [fdo#110403]) -> [PASS][42] +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-skl5/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-skl6/igt@[email protected]
* igt@kms_plane_scaling@pipe-c-scaler-with-pixel-format:
- shard-iclb: [INCOMPLETE][43] ([fdo#107713]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-iclb7/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [SKIP][45] ([fdo#109441]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-iclb5/igt@kms_psr@psr2_cursor_mmap_cpu.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [DMESG-WARN][47] ([fdo#108566]) -> [PASS][48] +2 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-apl3/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-apl3/igt@[email protected]
#### Warnings ####
* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-gtt:
- shard-skl: [FAIL][49] ([fdo#108040]) -> [FAIL][50] ([fdo#103167])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6481/shard-skl9/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/shard-skl7/igt@[email protected]
[fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103184]: https://bugs.freedesktop.org/show_bug.cgi?id=103184
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103355]: https://bugs.freedesktop.org/show_bug.cgi?id=103355
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108040]: https://bugs.freedesktop.org/show_bug.cgi?id=108040
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108767]: https://bugs.freedesktop.org/show_bug.cgi?id=108767
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_6481 -> Patchwork_13658
CI_DRM_6481: 2befa0062f52774c76a358927404c46a7ee6ecc9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5096: bb4d55a02dd3e1971f2c091a13b6bd7f0b496e40 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13658: 3d39598367c87ef948e086a336a5ede5c2282c9c @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13658/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx