Add debugfs for requesting HDCP version
Subsystems (3)
v2 cover Add debugfs for requesting HDCP version
Currently, for a given content-protection request, the kernel selects the highest version of HDCP supported by the panel and the platform.
This makes the testing/debugging difficult for lower versions of HDCP. E.g. In case both the lower and the higher HDCP versions are supported then the higher version of HDCP will always be selected and the lower HDCP version cannot be tested without changing the setup.
A solution for this was proposed in an IGT patch [1] by removing "mei_hdcp" module, but a need for a generic future-proof solution was identified.
As suggested by the community members, this patch attempts to add a new debugfs per connector for requesting a specific version of HDCP for debug/testing environment.
The test can request for a specific HDCP version and set the appropriate content-protection connector properties to test the required version. The kernel will consider the request if the HDCP version is sufficient for the requested content-protection.
[1] https://patchwork.freedesktop.org/patch/358240/
Ankit Nautiyal (2):
drm/i915: Add support for considering HDCP ver requested via debugfs drm/i915: Add a new debugfs to request HDCP version
.../drm/i915/display/intel_display_debugfs.c | 68 +++++++++++++++++++ .../drm/i915/display/intel_display_types.h | 10 +++ drivers/gpu/drm/i915/display/intel_hdcp.c | 16 ++++- 3 files changed, 92 insertions(+), 2 deletions(-)
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 1/2 drm/i915: Add support for considering HDCP ver requested via debugfs
For testing and debugging each HDCP version separately, a debugfs entry for requesting a specific version is required. The version requested via debugfs needs to be stored in hdcp structure. This can then be considered while enabling HDCP, provided the platform and the display supports the requested version.
This patch adds the support for storing the version requested as a 32bit flag. It also adds a helper function to check if a version is requested.
If a specific HDCP version is requested through the debugfs, the driver chooses that version, instead of policy of choosing the highest HDCP version supported.
v2: Initialize debugfs_ver_request flag with 0. (Jani Nikula)
--- .../gpu/drm/i915/display/intel_display_types.h | 10 ++++++++++ drivers/gpu/drm/i915/display/intel_hdcp.c | 16 ++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +10 -0
@@ -408,6 +408,16 @@ struct intel_hdcp {* Hence caching the transcoder here. */ enum transcoder cpu_transcoder; + +/* +* HDCP version requested from debugfs i915_hdcp_ver_request. +* Kernel will read these bits and entertain the request, as per +* the HDCP capability of the panel and platform. +*/ +#define HDCP_VERSION_1_4 0x01 +#define HDCP_VERSION_2_2 0x02 +#define HDCP_VERSION_MASK 0x03 +u32 debugfs_ver_request; };struct intel_connector {
drivers/gpu/drm/i915/display/intel_hdcp.c +14 -2
@@ -1977,6 +1977,8 @@ int intel_hdcp_init(struct intel_connector *connector,if (!shim)return -EINVAL ; + hdcp->debugfs_ver_request =0 ; +if (is_hdcp2_supported (dev_priv))intel_hdcp2_init (connector, shim);
@@ -1998,6 +2000,14 @@ int intel_hdcp_init(struct intel_connector *connector,return 0 ; } +static bool hdcp_debugfs_requested (struct intel_hdcp *hdcp,u32 hdcp_version) +{ +if (!hdcp->debugfs_ver_request) +return true; + +return hdcp->debugfs_ver_request & hdcp_version ? true : false; +} +int intel_hdcp_enable (struct intel_connector *connector,enum transcoder cpu_transcoder,u8 content_type) {
@@ -2023,7 +2033,8 @@ int intel_hdcp_enable(struct intel_connector *connector,* Considering that HDCP2.2 is more secure than HDCP1.4, If the setup * is capable of HDCP2.2, it is preferred to use HDCP2.2. */ -if (intel_hdcp2_capable (connector)) { +if (hdcp_debugfs_requested (hdcp,HDCP_VERSION_2_2 ) && +intel_hdcp2_capable (connector)) { ret =_intel_hdcp2_enable (connector);if (!ret) check_link_interval =DRM_HDCP2_CHECK_PERIOD_MS ;
@@ -2033,7 +2044,8 @@ int intel_hdcp_enable(struct intel_connector *connector,* When HDCP2.2 fails and Content Type is not Type1, HDCP1.4 will * be attempted. */ -if (ret &&intel_hdcp_capable (connector) && +if (ret &&hdcp_debugfs_requested (hdcp,HDCP_VERSION_1_4 ) && +intel_hdcp_capable (connector) && hdcp->content_type !=DRM_MODE_HDCP_CONTENT_TYPE1 ) { ret =_intel_hdcp_enable (connector); }
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v2 1/2] drm/i915: Add support for considering HDCP ver requested via debugfs
Quoted 81 lines · Ankit Nautiyal
For testing and debugging each HDCP version separately, a debugfs entry for requesting a specific version is required. The version requested via debugfs needs to be stored in hdcp structure. This can then be considered while enabling HDCP, provided the platform and the display supports the requested version.
This patch adds the support for storing the version requested as a 32bit flag. It also adds a helper function to check if a version is requested.
If a specific HDCP version is requested through the debugfs, the driver chooses that version, instead of policy of choosing the highest HDCP version supported.
v2: Initialize
debugfs_ver_requestflag with 0. (Jani Nikula)Signed-off-by Ankit Nautiyal <[email protected]>--- .../gpu/drm/i915/display/intel_display_types.h | 10 ++++++++++ drivers/gpu/drm/i915/display/intel_hdcp.c | 16 ++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +10
-0@@ -408,6 +408,16 @@ struct intel_hdcp {* Hence caching the transcoder here. */ enum transcoder cpu_transcoder; + +/* +* HDCP version requested from debugfs i915_hdcp_ver_request. +* Kernel will read these bits and entertain the request, as per +* the HDCP capability of the panel and platform. +*/ +#define HDCP_VERSION_1_4 0x01 +#define HDCP_VERSION_2_2 0x02 +#define HDCP_VERSION_MASK 0x03 +u32 debugfs_ver_request; };struct intel_connector {drivers/gpu/drm/i915/display/intel_hdcp.c +12
-1@@ -1977,6 +1977,8 @@ int intel_hdcp_init(struct intel_connector *connector,if (!shim)return -EINVAL ; + hdcp->debugfs_ver_request =0 ; +if (is_hdcp2_supported (dev_priv))intel_hdcp2_init (connector, shim);@@ -1998,6 +2000,14 @@ int intel_hdcp_init(struct intel_connector *connector,return 0 ; } +static bool hdcp_debugfs_requested (struct intel_hdcp *hdcp,u32 hdcp_version) +{ +if (!hdcp->debugfs_ver_request) +return true; + +return hdcp->debugfs_ver_request & hdcp_version ? true : false; +} +int intel_hdcp_enable (struct intel_connector *connector,enum transcoder cpu_transcoder,u8 content_type) {@@ -2023,7 +2033,8 @@ int intel_hdcp_enable(struct intel_connector *connector,* Considering that HDCP2.2 is more secure than HDCP1.4, If the setup * is capable of HDCP2.2, it is preferred to use HDCP2.2. */ -if (intel_hdcp2_capable (connector)) { +if (hdcp_debugfs_requested (hdcp,HDCP_VERSION_2_2 ) && +intel_hdcp2_capable (connector)) { ret =_intel_hdcp2_enable (connector);if (!ret) check_link_interval =DRM_HDCP2_CHECK_PERIOD_MS ;
drivers/gpu/drm/i915/display/intel_hdcp.c int intel_hdcp_enable(struct intel_connector *connector, · line 2047
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +1
-1@@ -2033,7 +2044,8 @@ int intel_hdcp_enable(struct intel_connector *connector,* When HDCP2.2 fails and Content Type is not Type1, HDCP1.4 will * be attempted. */ - if (ret && intel_hdcp_capable(connector) && + if (ret && hdcp_debugfs_requested(hdcp, HDCP_VERSION_1_4) &&
IMHO there is no case when both version HDCP 2.2 and HDCP 1.4 version will be set, i believe for IGT if HDCP 2.2 fails and version is HDCP 2.2 it should have returen from above, no need to check a ret value and HDCP 1.4 version. Could we simplify conditions here.
Thanks,
Anshuman Gupta.
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +1
-0+ intel_hdcp_capable(connector) && hdcp->content_type != DRM_MODE_HDCP_CONTENT_TYPE1) { ret =_intel_hdcp_enable (connector); }Signature · 1 line
2.17.1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v2 1/2] drm/i915: Add support for considering HDCP ver requested via debugfs
Hi Anshuman,
Thanks for the comments. Please find my response inline:
Quoted 85 lines · Anshuman Gupta
Quoted 84 lines · Ankit Nautiyal
For testing and debugging each HDCP version separately, a debugfs entry for requesting a specific version is required. The version requested via debugfs needs to be stored in hdcp structure. This can then be considered while enabling HDCP, provided the platform and the display supports the requested version.
This patch adds the support for storing the version requested as a 32bit flag. It also adds a helper function to check if a version is requested.
If a specific HDCP version is requested through the debugfs, the driver chooses that version, instead of policy of choosing the highest HDCP version supported.
v2: Initialize
debugfs_ver_requestflag with 0. (Jani Nikula)Signed-off-by Ankit Nautiyal <[email protected]>--- .../gpu/drm/i915/display/intel_display_types.h | 10 ++++++++++ drivers/gpu/drm/i915/display/intel_hdcp.c | 16 ++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +10
-0@@ -408,6 +408,16 @@ struct intel_hdcp {* Hence caching the transcoder here. */ enum transcoder cpu_transcoder; + +/* +* HDCP version requested from debugfs i915_hdcp_ver_request. +* Kernel will read these bits and entertain the request, as per +* the HDCP capability of the panel and platform. +*/ +#define HDCP_VERSION_1_4 0x01 +#define HDCP_VERSION_2_2 0x02 +#define HDCP_VERSION_MASK 0x03 +u32 debugfs_ver_request; };struct intel_connector {drivers/gpu/drm/i915/display/intel_hdcp.c +12
-1@@ -1977,6 +1977,8 @@ int intel_hdcp_init(struct intel_connector *connector,if (!shim)return -EINVAL ; + hdcp->debugfs_ver_request =0 ; +if (is_hdcp2_supported (dev_priv))intel_hdcp2_init (connector, shim);@@ -1998,6 +2000,14 @@ int intel_hdcp_init(struct intel_connector *connector,return 0 ; } +static bool hdcp_debugfs_requested (struct intel_hdcp *hdcp,u32 hdcp_version) +{ +if (!hdcp->debugfs_ver_request) +return true; + +return hdcp->debugfs_ver_request & hdcp_version ? true : false; +} +int intel_hdcp_enable (struct intel_connector *connector,enum transcoder cpu_transcoder,u8 content_type) {@@ -2023,7 +2033,8 @@ int intel_hdcp_enable(struct intel_connector *connector,* Considering that HDCP2.2 is more secure than HDCP1.4, If the setup * is capable of HDCP2.2, it is preferred to use HDCP2.2. */ -if (intel_hdcp2_capable (connector)) { +if (hdcp_debugfs_requested (hdcp,HDCP_VERSION_2_2 ) && +intel_hdcp2_capable (connector)) { ret =_intel_hdcp2_enable (connector);if (!ret) check_link_interval =DRM_HDCP2_CHECK_PERIOD_MS ;@@ -2033,7 +2044,8 @@ int intel_hdcp_enable(struct intel_connector *connector,* When HDCP2.2 fails and Content Type is not Type1, HDCP1.4 will * be attempted. */
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_hdcp.c int intel_hdcp_enable(struct intel_connector *connector, · line 2047
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +1
-1- if (ret && intel_hdcp_capable(connector) && + if (ret && hdcp_debugfs_requested(hdcp, HDCP_VERSION_1_4) &&IMHO there is no case when both version HDCP 2.2 and HDCP 1.4 version will be set, i believe for IGT if HDCP 2.2 fails and version is HDCP 2.2 it should have returen from above, no need to check a ret value and HDCP 1.4 version. Could we simplify conditions here.
Thanks,
Anshuman Gupta.
I was trying to have minimum change in the present flow. So I had just added a function hdcp_debugfs_requested(). This will return true if there is no version requested and the flow remains same. In case a specific version is requested say HDCP 2.2, only that version will be chosen. In case the HDCP2.2 fails, the hdcp_debugfs_requested() condition will fail and the flow will skip for HDCP1.4 part.
If not like this, we can try to have a separate code-block, for the case where debugfs version is requested, but this will lead to duplication of parts for enabling HDCP2.2/ HDCP1.4.
if (hdcp->debugfs_ver_request & HDCP_VERSION_2_2) {
/* enable HDCP2.2 */
}
else if (hdcp->debugfs_ver_request & HDCP_VERSION_1_4) {
/* enable HDCP1.4 */
}else {
/* Existing policy of enabling HDCP2.2 if possible, or fall back to HDCP1.4*/ }
So to avoid code duplication, IMHO, the current mechanism seems fine.
Perhaps the naming of the function hdcp_debugfs_requested can be made better to avoid confusion as it returns true even in case no version is requested. Would it be better to name hdcp_debugfs_allow_version(hdcp, HDCP_VER_#_#) ?
Regards,
Ankit
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +1
-0+ intel_hdcp_capable(connector) && hdcp->content_type != DRM_MODE_HDCP_CONTENT_TYPE1) { ret =_intel_hdcp_enable (connector); }Signature · 1 line
2.17.1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 2/2 drm/i915: Add a new debugfs to request HDCP version
In reply to Ankit NautiyalAs per the current HDCP design, the driver selects the highest version of HDCP that can be used to satisfy the content-protection requirements of the user. Due to this, the content-protection tests cannot test a lower version of HDCP, if the platform and the display panel, both support higher HDCP version.
To provide some support for testing and debugging, a per-connector debugfs is required to set the HDCP version via debugfs that the kernel can consider, while enabling HDCP.
This patch adds a new debugfs entry for each connector that supports HDCP. For enforcing a particular HDCP version for a connector, the user can write into the debugfs for that connector.
v2: As suggested by Jani Nikula:
-used kstrtouint_from_user() to directly read as uint from user buffer. -used 32 bit flag instead of 64 bit for hdcp_ver flag. -removed unnecessary prints and fixed other minor formatting issues.
--- .../drm/i915/display/intel_display_debugfs.c | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +68 -0
@@ -2185,6 +2185,72 @@ static const struct file_operations i915_dsc_fec_support_fops = { .write = i915_dsc_fec_support_write }; +static int i915_hdcp_ver_request_show (struct seq_file *m,void *data) +{ +struct drm_connector *connector = m->private; +struct intel_connector *intel_connector =to_intel_connector (connector); +u32 hdcp_ver_flag; + +if (connector->status != connector_status_connected) +return -ENODEV ; + +/* HDCP is supported by connector */ +if (!intel_connector->hdcp.shim) +return -EINVAL ; + + hdcp_ver_flag = intel_connector->hdcp.debugfs_ver_request; +seq_printf (m,"HDCP_VER_FLAGS: %u\n" , hdcp_ver_flag); + +return 0 ; +} + +static int i915_hdcp_ver_request_open (struct inode *inode, +struct file *file) +{ +return single_open (file, i915_hdcp_ver_request_show, + inode->i_private); +} + +static ssize_t i915_hdcp_ver_request_write (struct file *file, +const char __user *ubuf, +size_t len,loff_t *offp) +{ +unsigned int hdcp_ver =0 ; +int ret; +struct drm_connector *connector = + ((struct seq_file *)file->private_data)->private; +struct intel_connector *intel_connector =to_intel_connector (connector); +struct intel_hdcp *hdcp = &intel_connector->hdcp; + +if (!hdcp->shim) +return -EINVAL ; + +if (len ==0 ) +return 0 ; + + ret =kstrtouint_from_user (ubuf, len,0 , &hdcp_ver); +if (ret <0 ) +return ret; + +if (hdcp_ver >HDCP_VERSION_MASK ) +return -EINVAL ; + + hdcp->debugfs_ver_request = hdcp_ver; + + *offp += len; + +return len; +} + +static const struct file_operations i915_hdcp_ver_request_fops = { + .owner =THIS_MODULE , + .open = i915_hdcp_ver_request_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, + .write = i915_hdcp_ver_request_write +}; +/** * intel_connector_debugfs_add - add i915 specific connector debugfs files * @connector: pointer to a registered drm_connector
@@ -2215,6 +2281,8 @@ int intel_connector_debugfs_add(struct drm_connector *connector) connector->connector_type == DRM_MODE_CONNECTOR_HDMIB) {debugfs_create_file ("i915_hdcp_sink_capability" ,S_IRUGO , root, connector, &i915_hdcp_sink_capability_fops); +debugfs_create_file ("i915_hdcp_version_request" ,0444 , root, + connector, &i915_hdcp_ver_request_fops); } if (INTEL_GEN(dev_priv) >= 10 &&
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v2 2/2] drm/i915: Add a new debugfs to request HDCP version
Quoted 6 lines · Ankit Nautiyal
As per the current HDCP design, the driver selects the highest version of HDCP that can be used to satisfy the content-protection requirements of the user. Due to this, the content-protection tests cannot test a lower version of HDCP, if the platform and the display panel, both support higher HDCP version.
Quoted 7 lines
To provide some support for testing and debugging, a per-connector debugfs is required to set the HDCP version via debugfs that the kernel can consider, while enabling HDCP.
This patch adds a new debugfs entry for each connector that supports HDCP. For enforcing a particular HDCP version for a connector, the user can write into the debugfs for that connector.
IMHO this doesn't feel like a debugfs per connector, even if it is a global singleton resource for all connectors, i don't see any problem in that, may be a global debugfs would make sense here ?
Quoted 60 lines
v2: As suggested by Jani Nikula:
(quoted diff) +0
-3-used kstrtouint_from_user() to directly read as uint from user buffer. -used 32 bit flag instead of 64 bit for hdcp_ver flag. -removed unnecessary prints and fixed other minor formatting issues.Signed-off-by Ankit Nautiyal <[email protected]>--- .../drm/i915/display/intel_display_debugfs.c | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+)drivers/gpu/drm/i915/display/intel_display_debugfs.c +41
-0@@ -2185,6 +2185,72 @@ static const struct file_operations i915_dsc_fec_support_fops = { .write = i915_dsc_fec_support_write }; +static int i915_hdcp_ver_request_show (struct seq_file *m,void *data) +{ +struct drm_connector *connector = m->private; +struct intel_connector *intel_connector =to_intel_connector (connector); +u32 hdcp_ver_flag; + +if (connector->status != connector_status_connected) +return -ENODEV ; + +/* HDCP is supported by connector */ +if (!intel_connector->hdcp.shim) +return -EINVAL ; + + hdcp_ver_flag = intel_connector->hdcp.debugfs_ver_request; +seq_printf (m,"HDCP_VER_FLAGS: %u\n" , hdcp_ver_flag); + +return 0 ; +} + +static int i915_hdcp_ver_request_open (struct inode *inode, +struct file *file) +{ +return single_open (file, i915_hdcp_ver_request_show, + inode->i_private); +} + +static ssize_t i915_hdcp_ver_request_write (struct file *file, +const char __user *ubuf, +size_t len,loff_t *offp) +{ +unsigned int hdcp_ver =0 ; +int ret; +struct drm_connector *connector = + ((struct seq_file *)file->private_data)->private; +struct intel_connector *intel_connector =to_intel_connector (connector); +struct intel_hdcp *hdcp = &intel_connector->hdcp; + +if (!hdcp->shim) +return -EINVAL ; + +if (len ==0 )
drivers/gpu/drm/i915/display/intel_display_debugfs.c static const struct file_operations i915_dsc_fec_support_fops = { · line 2238
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +10
-0+return 0 ; + + ret =kstrtouint_from_user (ubuf, len,0 , &hdcp_ver); +if (ret <0 ) +return ret; + +if (hdcp_ver >HDCP_VERSION_MASK ) +return -EINVAL ; + + hdcp->debugfs_ver_request = hdcp_ver;
A lockless assignment, this would probably not scale. Could u please add some comment here for current IGT need this is ok, but for any concurrent usgaes proper locking is required. Thanks,
Anshuman
Quoted 30 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +17
-0+ + *offp += len; + +return len; +} + +static const struct file_operations i915_hdcp_ver_request_fops = { + .owner =THIS_MODULE , + .open = i915_hdcp_ver_request_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, + .write = i915_hdcp_ver_request_write +}; +/** * intel_connector_debugfs_add - add i915 specific connector debugfs files * @connector: pointer to a registered drm_connector @@ -2215,6 +2281,8 @@ int intel_connector_debugfs_add(struct drm_connector *connector) connector->connector_type == DRM_MODE_CONNECTOR_HDMIB) {debugfs_create_file ("i915_hdcp_sink_capability" ,S_IRUGO , root, connector, &i915_hdcp_sink_capability_fops); +debugfs_create_file ("i915_hdcp_version_request" ,0444 , root, + connector, &i915_hdcp_ver_request_fops); } if (INTEL_GEN(dev_priv) >= 10 &&Signature · 1 line
2.17.1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v2 2/2] drm/i915: Add a new debugfs to request HDCP version
Hi Anshuman,
Thanks for the review comments and suggestions.
Please find my response inline:
Quoted 11 lines · Anshuman Gupta
Quoted 10 lines · Ankit Nautiyal
As per the current HDCP design, the driver selects the highest version of HDCP that can be used to satisfy the content-protection requirements of the user. Due to this, the content-protection tests cannot test a lower version of HDCP, if the platform and the display panel, both support higher HDCP version.
To provide some support for testing and debugging, a per-connector debugfs is required to set the HDCP version via debugfs that the kernel can consider, while enabling HDCP.
Quoted 6 lines
Quoted 3 lines
This patch adds a new debugfs entry for each connector that supports HDCP. For enforcing a particular HDCP version for a connector, the user can write into the debugfs for that connector.
IMHO this doesn't feel like a debugfs per connector, even if it is a global singleton resource for all connectors, i don't see any problem in that, may be a global debugfs would make sense here ?
The current solution was inline with the comments in the IGT patch, where the approach for a connector level debugfs was discussed by the community members. But I agree we don't necessarily require per connector debugfs for our use-case here.
We can use a global resource for storing the request for HDCP version and use it if it is set, while enabling HDCP.
Perhaps will store it in dev_priv, instead of connector->hdcp.
I will try that out and send next version.
Quoted 66 lines
Quoted 66 lines
v2: As suggested by Jani Nikula:
(quoted diff) +0
-3-used kstrtouint_from_user() to directly read as uint from user buffer. -used 32 bit flag instead of 64 bit for hdcp_ver flag. -removed unnecessary prints and fixed other minor formatting issues.Signed-off-by Ankit Nautiyal <[email protected]>--- .../drm/i915/display/intel_display_debugfs.c | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+)drivers/gpu/drm/i915/display/intel_display_debugfs.c +48
-0@@ -2185,6 +2185,72 @@ static const struct file_operations i915_dsc_fec_support_fops = { .write = i915_dsc_fec_support_write }; +static int i915_hdcp_ver_request_show (struct seq_file *m,void *data) +{ +struct drm_connector *connector = m->private; +struct intel_connector *intel_connector =to_intel_connector (connector); +u32 hdcp_ver_flag; + +if (connector->status != connector_status_connected) +return -ENODEV ; + +/* HDCP is supported by connector */ +if (!intel_connector->hdcp.shim) +return -EINVAL ; + + hdcp_ver_flag = intel_connector->hdcp.debugfs_ver_request; +seq_printf (m,"HDCP_VER_FLAGS: %u\n" , hdcp_ver_flag); + +return 0 ; +} + +static int i915_hdcp_ver_request_open (struct inode *inode, +struct file *file) +{ +return single_open (file, i915_hdcp_ver_request_show, + inode->i_private); +} + +static ssize_t i915_hdcp_ver_request_write (struct file *file, +const char __user *ubuf, +size_t len,loff_t *offp) +{ +unsigned int hdcp_ver =0 ; +int ret; +struct drm_connector *connector = + ((struct seq_file *)file->private_data)->private; +struct intel_connector *intel_connector =to_intel_connector (connector); +struct intel_hdcp *hdcp = &intel_connector->hdcp; + +if (!hdcp->shim) +return -EINVAL ; + +if (len ==0 ) +return 0 ; + + ret =kstrtouint_from_user (ubuf, len,0 , &hdcp_ver); +if (ret <0 ) +return ret; + +if (hdcp_ver >HDCP_VERSION_MASK )
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c static const struct file_operations i915_dsc_fec_support_fops = { · line 2238
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +3
-0+return -EINVAL ; + + hdcp->debugfs_ver_request = hdcp_ver;A lockless assignment, this would probably not scale. Could u please add some comment here for current IGT need this is ok, but for any concurrent usgaes proper locking is required. Thanks,
Anshuman
Agreed. I will add this as a note in comments in next version.
Thanks & Regards,
Ankit
Quoted 26 lines
Quoted 26 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +17
-0+ + *offp += len; + +return len; +} + +static const struct file_operations i915_hdcp_ver_request_fops = { + .owner =THIS_MODULE , + .open = i915_hdcp_ver_request_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, + .write = i915_hdcp_ver_request_write +}; +/** * intel_connector_debugfs_add - add i915 specific connector debugfs files * @connector: pointer to a registered drm_connector @@ -2215,6 +2281,8 @@ int intel_connector_debugfs_add(struct drm_connector *connector) connector->connector_type == DRM_MODE_CONNECTOR_HDMIB) {debugfs_create_file ("i915_hdcp_sink_capability" ,S_IRUGO , root, connector, &i915_hdcp_sink_capability_fops); +debugfs_create_file ("i915_hdcp_version_request" ,0444 , root, + connector, &i915_hdcp_ver_request_fops); }
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +0
-0if (INTEL_GEN(dev_priv) >= 10 &&Signature · 1 line
2.17.1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Add debugfs for requesting HDCP version
In reply to Ankit Nautiyal== Series Details ==
== Series Details ==
Series: Add debugfs for requesting HDCP version
URL : https://patchwork.freedesktop.org/series/78115/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.0 Fast mode used, each commit won't be checked separately. - +drivers/gpu/drm/i915/display/intel_display.c:1222:22: error: Expected constant expression in case statement +drivers/gpu/drm/i915/display/intel_display.c:1225:22: error: Expected constant expression in case statement +drivers/gpu/drm/i915/display/intel_display.c:1228:22: error: Expected constant expression in case statement +drivers/gpu/drm/i915/display/intel_display.c:1231:22: error: Expected constant expression in case statement +drivers/gpu/drm/i915/gem/i915_gem_context.c:2274:17: error: bad integer constant expression +drivers/gpu/drm/i915/gem/i915_gem_context.c:2275:17: error: bad integer constant expression +drivers/gpu/drm/i915/gem/i915_gem_context.c:2276:17: error: bad integer constant expression +drivers/gpu/drm/i915/gem/i915_gem_context.c:2277:17: error: bad integer constant expression +drivers/gpu/drm/i915/gem/i915_gem_context.c:2278:17: error: bad integer constant expression +drivers/gpu/drm/i915/gem/i915_gem_context.c:2279:17: error: bad integer constant expression +drivers/gpu/drm/i915/gt/intel_reset.c:1310:5: warning: context imbalance in 'intel_gt_reset_trylock' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen11_fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen11_fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen11_fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen11_fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen11_fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen11_fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen11_fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen12_fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen12_fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen12_fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen12_fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen12_fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen12_fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen12_fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen6_read16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen6_read32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen6_read64' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen6_read8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen6_write16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen6_write32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen6_write8' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen8_write16' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen8_write32' - different lock contexts for basic block +./include/linux/spinlock.h:408:9: warning: context imbalance in 'gen8_write8' - different lock contexts for basic block
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for Add debugfs for requesting HDCP version
In reply to Ankit Nautiyal== Series Details ==
== Series Details ==
Series: Add debugfs for requesting HDCP version
URL : https://patchwork.freedesktop.org/series/78115/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8600 -> Patchwork_17906
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/index.html
Known issues
------------
Here are the changes found in Patchwork_17906 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_pm_rpm@module-reload:
- fi-byt-j1900: [PASS][1] -> [DMESG-WARN][2] ([i915#1982])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/fi-byt-j1900/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/fi-byt-j1900/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-glk-dsi: [DMESG-WARN][3] ([i915#1982]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/fi-glk-dsi/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/fi-glk-dsi/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-whl-u: [DMESG-WARN][5] ([i915#95]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/fi-whl-u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/fi-whl-u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: [DMESG-WARN][7] ([i915#1982]) -> [PASS][8] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/fi-icl-u2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/fi-icl-u2/igt@[email protected]
#### Warnings ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-kbl-x1275: [DMESG-WARN][9] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][10] ([i915#62] / [i915#92]) +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/fi-kbl-x1275/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/fi-kbl-x1275/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- fi-kbl-x1275: [DMESG-WARN][11] ([i915#62] / [i915#92]) -> [DMESG-WARN][12] ([i915#62] / [i915#92] / [i915#95]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/fi-kbl-x1275/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/fi-kbl-x1275/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (49 -> 41)
------------------------------
Missing (8): fi-ilk-m540 fi-bdw-samus fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-kbl-7560u fi-byt-clapper fi-skl-6700k2
Build changes
-------------
* Linux: CI_DRM_8600 -> Patchwork_17906
CI-20190529: 20190529
CI_DRM_8600: 9232911f67be3d072e5bd6ff0eb4d8e8281f5c5f @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5699: 201da47cb57b8fadd9bc45be16b82617b32a2c01 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17906: e9aea7c387bfa3af005fbd439f664d6e902b3cf6 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
e9aea7c387bf drm/i915: Add a new debugfs to request HDCP version b610d6ebbfb3 drm/i915: Add support for considering HDCP ver requested via debugfs
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for Add debugfs for requesting HDCP version
In reply to Ankit Nautiyal== Series Details ==
== Series Details ==
Series: Add debugfs for requesting HDCP version
URL : https://patchwork.freedesktop.org/series/78115/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8600_full -> Patchwork_17906_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_17906_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_softpin@noreloc-s3:
- shard-apl: [PASS][1] -> [DMESG-WARN][2] ([i915#180]) +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-apl6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-apl4/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-iclb: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-iclb8/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-iclb5/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][5] -> [FAIL][6] ([i915#454])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-iclb4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-iclb4/igt@[email protected]
- shard-skl: [PASS][7] -> [DMESG-FAIL][8] ([i915#1982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl7/igt@[email protected]
* igt@kms_color@pipe-c-ctm-blue-to-red:
- shard-kbl: [PASS][9] -> [DMESG-WARN][10] ([i915#93] / [i915#95]) +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-kbl3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-kbl3/igt@[email protected]
- shard-apl: [PASS][11] -> [DMESG-WARN][12] ([i915#95]) +15 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-apl4/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-apl6/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipa-atomic-transitions:
- shard-skl: [PASS][13] -> [DMESG-WARN][14] ([i915#1982]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl7/igt@[email protected]
* igt@kms_hdr@bpc-switch:
- shard-skl: [PASS][15] -> [FAIL][16] ([i915#1188])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl10/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- shard-kbl: [PASS][17] -> [DMESG-WARN][18] ([i915#180])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-kbl2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-kbl2/igt@[email protected]
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [PASS][19] -> [SKIP][20] ([fdo#109441]) +2 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-iclb4/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-kbl: [PASS][21] -> [INCOMPLETE][22] ([i915#155])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-kbl7/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-kbl4/igt@[email protected]
#### Possible fixes ####
* {igt@gem_exec_reloc@basic-concurrent0}:
- shard-glk: [FAIL][23] ([i915#1930]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-glk6/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-glk2/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-priority-all:
- shard-glk: [DMESG-WARN][25] ([i915#118] / [i915#95]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-glk2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-glk5/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [INCOMPLETE][27] ([i915#1436] / [i915#716]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl5/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl7/igt@[email protected]
* igt@i915_module_load@reload:
- shard-tglb: [DMESG-WARN][29] ([i915#402]) -> [PASS][30] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-tglb8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-tglb2/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-skl: [DMESG-WARN][31] ([i915#1982]) -> [PASS][32] +8 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl7/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl5/igt@[email protected]
* {igt@kms_flip@2x-flip-vs-expired-vblank@bc-hdmi-a1-hdmi-a2}:
- shard-glk: [FAIL][33] ([i915#79]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-glk7/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-glk7/igt@kms_flip@[email protected]
* {igt@kms_flip@flip-vs-suspend-interruptible@a-edp1}:
- shard-skl: [INCOMPLETE][35] ([i915#198]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl1/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl9/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-pwrite:
- shard-tglb: [DMESG-WARN][37] ([i915#1982]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-pwrite.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-pwrite.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [FAIL][39] ([i915#1188]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl5/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][41] ([fdo#108145] / [i915#265]) -> [PASS][42] +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-skl1/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-skl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-mid:
- shard-apl: [DMESG-WARN][43] ([i915#95]) -> [PASS][44] +7 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-apl6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-apl2/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][45] ([i915#173]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-iclb1/igt@kms_psr@no_drrs.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-iclb6/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][47] ([fdo#109441]) -> [PASS][48] +2 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-iclb6/igt@kms_psr@psr2_primary_mmap_cpu.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-apl: [DMESG-WARN][49] ([i915#180]) -> [PASS][50] +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-apl6/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-apl2/igt@[email protected]
* igt@kms_vblank@pipe-c-accuracy-idle:
- shard-glk: [FAIL][51] ([i915#43]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-glk5/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-glk9/igt@[email protected]
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][53] ([i915#180]) -> [PASS][54] +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-kbl2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-kbl2/igt@[email protected]
* {igt@perf@blocking-parameterized}:
- shard-iclb: [FAIL][55] ([i915#1542]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-iclb3/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-iclb3/igt@[email protected]
- shard-tglb: [FAIL][57] ([i915#1542]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-tglb1/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-tglb2/igt@[email protected]
* igt@syncobj_wait@multi-wait-for-submit-unsubmitted:
- shard-kbl: [DMESG-WARN][59] ([i915#93] / [i915#95]) -> [PASS][60] +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-kbl6/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-kbl2/igt@[email protected]
* igt@testdisplay:
- shard-kbl: [DMESG-WARN][61] ([i915#165] / [i915#78]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-kbl2/[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-kbl2/[email protected]
#### Warnings ####
* igt@kms_content_protection@lic:
- shard-apl: [TIMEOUT][63] ([i915#1319]) -> [TIMEOUT][64] ([i915#1319] / [i915#1635])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-apl2/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-apl1/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-apl: [TIMEOUT][65] ([i915#1319] / [i915#1635]) -> [FAIL][66] ([fdo#110321])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-apl4/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-apl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x42-onscreen:
- shard-apl: [DMESG-WARN][67] ([i915#95]) -> [DMESG-FAIL][68] ([i915#54] / [i915#95])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8600/shard-apl8/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17906/shard-apl8/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#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1519]: https://gitlab.freedesktop.org/drm/intel/issues/1519
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#173]: https://gitlab.freedesktop.org/drm/intel/issues/173
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#43]: https://gitlab.freedesktop.org/drm/intel/issues/43
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#78]: https://gitlab.freedesktop.org/drm/intel/issues/78
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_8600 -> Patchwork_17906
CI-20190529: 20190529
CI_DRM_8600: 9232911f67be3d072e5bd6ff0eb4d8e8281f5c5f @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5699: 201da47cb57b8fadd9bc45be16b82617b32a2c01 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17906: e9aea7c387bfa3af005fbd439f664d6e902b3cf6 @ 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_17906/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx