* [igt-dev] [PATCH i-g-t v8 1/8] kms_content_protection: Tests are defined by flags
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 2/8] kms_content_protection: Link Integrity Check subtest Ramalingam C
` (11 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
Considering increase of subtests for kms_content_protection, tests are
defined through flags.
v2:
reset the cp_tests. [Uma]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
tests/kms_content_protection.c | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index ae6ab497ea21..5f7d8ff9b52b 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -34,8 +34,11 @@ struct data {
int drm_fd;
igt_display_t display;
struct igt_fb red, green;
+ unsigned int cp_tests;
} data;
+#define CP_DPMS (1 << 0)
+
#define CP_UNDESIRED 0
#define CP_DESIRED 1
#define CP_ENABLED 2
@@ -240,8 +243,7 @@ static void test_cp_lic(igt_output_t *output)
}
static void test_content_protection_on_output(igt_output_t *output,
- enum igt_commit_style s,
- bool dpms_test)
+ enum igt_commit_style s)
{
igt_display_t *display = &data.display;
igt_plane_t *primary;
@@ -265,7 +267,7 @@ static void test_content_protection_on_output(igt_output_t *output,
test_cp_enable_with_retry(output, s, 3);
test_cp_lic(output);
- if (dpms_test) {
+ if (data.cp_tests & CP_DPMS) {
igt_pipe_set_prop_value(display, pipe,
IGT_CRTC_ACTIVE, 0);
igt_display_commit2(display, s);
@@ -324,7 +326,7 @@ static bool sink_hdcp_capable(igt_output_t *output)
static void
-test_content_protection(enum igt_commit_style s, bool dpms_test)
+test_content_protection(enum igt_commit_style s)
{
igt_display_t *display = &data.display;
igt_output_t *output;
@@ -341,7 +343,7 @@ test_content_protection(enum igt_commit_style s, bool dpms_test)
continue;
}
- test_content_protection_on_output(output, s, dpms_test);
+ test_content_protection_on_output(output, s);
valid_tests++;
}
@@ -358,17 +360,21 @@ igt_main
igt_display_require(&data.display, data.drm_fd);
}
- igt_subtest("legacy")
- test_content_protection(COMMIT_LEGACY, false);
+ igt_subtest("legacy") {
+ data.cp_tests = 0;
+ test_content_protection(COMMIT_LEGACY);
+ }
igt_subtest("atomic") {
igt_require(data.display.is_atomic);
- test_content_protection(COMMIT_ATOMIC, false);
+ data.cp_tests = 0;
+ test_content_protection(COMMIT_ATOMIC);
}
igt_subtest("atomic-dpms") {
igt_require(data.display.is_atomic);
- test_content_protection(COMMIT_ATOMIC, true);
+ data.cp_tests = CP_DPMS;
+ test_content_protection(COMMIT_ATOMIC);
}
igt_fixture
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] [PATCH i-g-t v8 2/8] kms_content_protection: Link Integrity Check subtest
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 1/8] kms_content_protection: Tests are defined by flags Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 3/8] kms_content_protection: Content type support Ramalingam C
` (10 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
Existing Link integrity check test is moved into dedicated subtest.
This helps to reduce the execution time of other tests by removing the
repeated Link integrity check on every other tests.
v2:
s/reduced/reduce [Uma]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
tests/kms_content_protection.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 5f7d8ff9b52b..c86fe936f12f 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -38,6 +38,7 @@ struct data {
} data;
#define CP_DPMS (1 << 0)
+#define CP_LIC (1 << 1)
#define CP_UNDESIRED 0
#define CP_DESIRED 1
@@ -265,7 +266,9 @@ static void test_content_protection_on_output(igt_output_t *output,
modeset_with_fb(pipe, output, s);
test_cp_enable_with_retry(output, s, 3);
- test_cp_lic(output);
+
+ if (data.cp_tests & CP_LIC)
+ test_cp_lic(output);
if (data.cp_tests & CP_DPMS) {
igt_pipe_set_prop_value(display, pipe,
@@ -377,6 +380,12 @@ igt_main
test_content_protection(COMMIT_ATOMIC);
}
+ igt_subtest("LIC") {
+ igt_require(data.display.is_atomic);
+ data.cp_tests = CP_LIC;
+ test_content_protection(COMMIT_ATOMIC);
+ }
+
igt_fixture
igt_display_fini(&data.display);
}
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] [PATCH i-g-t v8 3/8] kms_content_protection: Content type support
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 1/8] kms_content_protection: Tests are defined by flags Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 2/8] kms_content_protection: Link Integrity Check subtest Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 4/8] kms_content_protection: test teardown and rebuild of I915-mei I/F Ramalingam C
` (9 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
Adds a connector property called "CP_Content_Type"
Content Type takes two values which classifies the content stream:
Type 0: Stream that can be transmitted on HDCP1.4/HDCP2.2
Type 1: Stream that needs HDCP2.2 encryption only.
So when Type 1 is set KMD is forced to enable HDCP2.2 only.
For Type 0 request, Kernel chooses the highest capable HDCP version
(v2.2) first. If that fails, then it fall back to the next available
version(v1.4) before abondoning HDCP authentication attempts.
Please note content_type is allowed to be updated when "Content
Protection" is in UNDESIRED state.
v2:
s/cp_content_type/content_protection_type [danvet]
v3:
s/content_protection_type/HDCP Content Type [Pekka]
v4:
Rebased
v5:
Typos in the commit msg is fixed [Uma]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
lib/igt_kms.c | 1 +
lib/igt_kms.h | 1 +
tests/kms_content_protection.c | 74 +++++++++++++++++++++++++++-------
3 files changed, 62 insertions(+), 14 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index dc8992cb043b..5d079d74a16f 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -325,6 +325,7 @@ const char * const igt_connector_prop_names[IGT_NUM_CONNECTOR_PROPS] = {
[IGT_CONNECTOR_BROADCAST_RGB] = "Broadcast RGB",
[IGT_CONNECTOR_CONTENT_PROTECTION] = "Content Protection",
[IGT_CONNECTOR_VRR_CAPABLE] = "vrr_capable",
+ [IGT_CONNECTOR_HDCP_CONTENT_TYPE] = "HDCP Content Type",
};
/*
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index a448a003ae56..d52e76c7940b 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -123,6 +123,7 @@ enum igt_atomic_connector_properties {
IGT_CONNECTOR_BROADCAST_RGB,
IGT_CONNECTOR_CONTENT_PROTECTION,
IGT_CONNECTOR_VRR_CAPABLE,
+ IGT_CONNECTOR_HDCP_CONTENT_TYPE,
IGT_NUM_CONNECTOR_PROPS
};
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index c86fe936f12f..32630f28630b 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -44,6 +44,13 @@ struct data {
#define CP_DESIRED 1
#define CP_ENABLED 2
+/*
+ * HDCP_CONTENT_TYPE_0 can be handled on both HDCP1.4 and HDCP2.2. Where as
+ * HDCP_CONTENT_TYPE_1 can be handled only through HDCP2.2.
+ */
+#define HDCP_CONTENT_TYPE_0 0
+#define HDCP_CONTENT_TYPE_1 1
+
#define LIC_PERIOD_MSEC (4 * 1000)
/* Kernel retry count=3, Max time per authentication allowed = 6Sec */
#define KERNEL_AUTH_TIME_ALLOWED_MSEC (3 * 6 * 1000)
@@ -159,7 +166,8 @@ static void modeset_with_fb(const enum pipe pipe, igt_output_t *output,
commit_display_and_wait_for_flip(s);
}
-static bool test_cp_enable(igt_output_t *output, enum igt_commit_style s)
+static bool test_cp_enable(igt_output_t *output, enum igt_commit_style s,
+ int content_type)
{
igt_display_t *display = &data.display;
igt_plane_t *primary;
@@ -169,6 +177,10 @@ static bool test_cp_enable(igt_output_t *output, enum igt_commit_style s)
igt_output_set_prop_value(output,
IGT_CONNECTOR_CONTENT_PROTECTION, CP_DESIRED);
+ if (output->props[IGT_CONNECTOR_HDCP_CONTENT_TYPE])
+ igt_output_set_prop_value(output,
+ IGT_CONNECTOR_HDCP_CONTENT_TYPE,
+ content_type);
igt_display_commit2(display, s);
ret = wait_for_prop_value(output, CP_ENABLED,
@@ -205,13 +217,14 @@ static void test_cp_disable(igt_output_t *output, enum igt_commit_style s)
}
static void test_cp_enable_with_retry(igt_output_t *output,
- enum igt_commit_style s, int retry)
+ enum igt_commit_style s, int retry,
+ int content_type)
{
bool ret;
do {
test_cp_disable(output, s);
- ret = test_cp_enable(output, s);
+ ret = test_cp_enable(output, s, content_type);
if (!ret && --retry)
igt_debug("Retry (%d/2) ...\n", 3 - retry);
@@ -244,7 +257,8 @@ static void test_cp_lic(igt_output_t *output)
}
static void test_content_protection_on_output(igt_output_t *output,
- enum igt_commit_style s)
+ enum igt_commit_style s,
+ int content_type)
{
igt_display_t *display = &data.display;
igt_plane_t *primary;
@@ -265,7 +279,7 @@ static void test_content_protection_on_output(igt_output_t *output,
continue;
modeset_with_fb(pipe, output, s);
- test_cp_enable_with_retry(output, s, 3);
+ test_cp_enable_with_retry(output, s, 3, content_type);
if (data.cp_tests & CP_LIC)
test_cp_lic(output);
@@ -282,7 +296,8 @@ static void test_content_protection_on_output(igt_output_t *output,
ret = wait_for_prop_value(output, CP_ENABLED,
KERNEL_AUTH_TIME_ALLOWED_MSEC);
if (!ret)
- test_cp_enable_with_retry(output, s, 2);
+ test_cp_enable_with_retry(output, s,
+ 2, content_type);
}
test_cp_disable(output, s);
@@ -309,7 +324,8 @@ static void __debugfs_read(int fd, const char *param, char *buf, int len)
#define debugfs_read(fd, p, arr) __debugfs_read(fd, p, arr, sizeof(arr))
-#define MAX_SINK_HDCP_CAP_BUF_LEN 500
+#define MAX_SINK_HDCP_CAP_BUF_LEN 5000
+
static bool sink_hdcp_capable(igt_output_t *output)
{
char buf[MAX_SINK_HDCP_CAP_BUF_LEN];
@@ -327,9 +343,25 @@ static bool sink_hdcp_capable(igt_output_t *output)
return strstr(buf, "HDCP1.4");
}
+static bool sink_hdcp2_capable(igt_output_t *output)
+{
+ char buf[MAX_SINK_HDCP_CAP_BUF_LEN];
+ int fd;
+
+ fd = igt_debugfs_connector_dir(data.drm_fd, output->name, O_RDONLY);
+ if (fd < 0)
+ return false;
+
+ debugfs_read(fd, "i915_hdcp_sink_capability", buf);
+ close(fd);
+
+ igt_debug("Sink capability: %s\n", buf);
+
+ return strstr(buf, "HDCP2.2");
+}
static void
-test_content_protection(enum igt_commit_style s)
+test_content_protection(enum igt_commit_style s, int content_type)
{
igt_display_t *display = &data.display;
igt_output_t *output;
@@ -339,14 +371,23 @@ test_content_protection(enum igt_commit_style s)
if (!output->props[IGT_CONNECTOR_CONTENT_PROTECTION])
continue;
+ if (!output->props[IGT_CONNECTOR_HDCP_CONTENT_TYPE] &&
+ content_type)
+ continue;
+
igt_info("CP Test execution on %s\n", output->name);
- if (!sink_hdcp_capable(output)) {
+
+ if (content_type && !sink_hdcp2_capable(output)) {
+ igt_info("\tSkip %s (Sink has no HDCP2.2 support)\n",
+ output->name);
+ continue;
+ } else if (!sink_hdcp_capable(output)) {
igt_info("\tSkip %s (Sink has no HDCP support)\n",
output->name);
continue;
}
- test_content_protection_on_output(output, s);
+ test_content_protection_on_output(output, s, content_type);
valid_tests++;
}
@@ -365,25 +406,30 @@ igt_main
igt_subtest("legacy") {
data.cp_tests = 0;
- test_content_protection(COMMIT_LEGACY);
+ test_content_protection(COMMIT_LEGACY, HDCP_CONTENT_TYPE_0);
}
igt_subtest("atomic") {
igt_require(data.display.is_atomic);
data.cp_tests = 0;
- test_content_protection(COMMIT_ATOMIC);
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_0);
}
igt_subtest("atomic-dpms") {
igt_require(data.display.is_atomic);
data.cp_tests = CP_DPMS;
- test_content_protection(COMMIT_ATOMIC);
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_0);
}
igt_subtest("LIC") {
igt_require(data.display.is_atomic);
data.cp_tests = CP_LIC;
- test_content_protection(COMMIT_ATOMIC);
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_0);
+ }
+
+ igt_subtest("type1") {
+ igt_require(data.display.is_atomic);
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_1);
}
igt_fixture
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] [PATCH i-g-t v8 4/8] kms_content_protection: test teardown and rebuild of I915-mei I/F
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (2 preceding siblings ...)
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 3/8] kms_content_protection: Content type support Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 5/8] kms_content_protection: test content type change Ramalingam C
` (8 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
To validate the teardown and rebuild of the interface between
I915 and mei hdcp this subtest execute the below sequence:
1. Test HDCP2.2 Type 1 (expected to pass)
2. Unload the mei_hdcp
3. Test HDCP2.2 Type 1 (expected to fail)
2. Reload the mei_hdcp
1. Test HDCP2.2 Type 1 (expected to pass)
v2:
Rebased.
v3:
Rebased.
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
tests/kms_content_protection.c | 44 ++++++++++++++++++++++++++++++----
1 file changed, 39 insertions(+), 5 deletions(-)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 32630f28630b..76b0c9b0c414 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -27,6 +27,7 @@
#include "igt.h"
#include "igt_sysfs.h"
#include "igt_kms.h"
+#include "igt_kmod.h"
IGT_TEST_DESCRIPTION("Test content protection (HDCP)");
@@ -37,8 +38,10 @@ struct data {
unsigned int cp_tests;
} data;
+/* Test flags */
#define CP_DPMS (1 << 0)
#define CP_LIC (1 << 1)
+#define CP_MEI_RELOAD (1 << 2)
#define CP_UNDESIRED 0
#define CP_DESIRED 1
@@ -218,7 +221,7 @@ static void test_cp_disable(igt_output_t *output, enum igt_commit_style s)
static void test_cp_enable_with_retry(igt_output_t *output,
enum igt_commit_style s, int retry,
- int content_type)
+ int content_type, bool expect_failure)
{
bool ret;
@@ -233,7 +236,12 @@ static void test_cp_enable_with_retry(igt_output_t *output,
if (!ret)
test_cp_disable(output, s);
- igt_assert_f(ret, "Content Protection not enabled\n");
+ if (expect_failure)
+ igt_assert_f(!ret,
+ "CP Enabled. Though it is expected to fail\n");
+ else
+ igt_assert_f(ret, "Content Protection not enabled\n");
+
}
static bool igt_pipe_is_free(igt_display_t *display, enum pipe pipe)
@@ -279,7 +287,23 @@ static void test_content_protection_on_output(igt_output_t *output,
continue;
modeset_with_fb(pipe, output, s);
- test_cp_enable_with_retry(output, s, 3, content_type);
+ test_cp_enable_with_retry(output, s, 3, content_type, false);
+
+ if (data.cp_tests & CP_MEI_RELOAD) {
+ igt_assert_f(!igt_kmod_unload("mei_hdcp", 0),
+ "mei_hdcp unload failed");
+
+ /* Expected to fail */
+ test_cp_enable_with_retry(output, s, 3,
+ content_type, true);
+
+ igt_assert_f(!igt_kmod_load("mei_hdcp", NULL),
+ "mei_hdcp load failed");
+
+ /* Expected to pass */
+ test_cp_enable_with_retry(output, s, 3,
+ content_type, false);
+ }
if (data.cp_tests & CP_LIC)
test_cp_lic(output);
@@ -296,8 +320,8 @@ static void test_content_protection_on_output(igt_output_t *output,
ret = wait_for_prop_value(output, CP_ENABLED,
KERNEL_AUTH_TIME_ALLOWED_MSEC);
if (!ret)
- test_cp_enable_with_retry(output, s,
- 2, content_type);
+ test_cp_enable_with_retry(output, s, 2,
+ content_type, false);
}
test_cp_disable(output, s);
@@ -367,6 +391,10 @@ test_content_protection(enum igt_commit_style s, int content_type)
igt_output_t *output;
int valid_tests = 0;
+ if (data.cp_tests & CP_MEI_RELOAD)
+ igt_require_f(igt_kmod_is_loaded("mei_hdcp"),
+ "mei_hdcp module is not loaded\n");
+
for_each_connected_output(display, output) {
if (!output->props[IGT_CONNECTOR_CONTENT_PROTECTION])
continue;
@@ -432,6 +460,12 @@ igt_main
test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_1);
}
+ igt_subtest("mei_interface") {
+ igt_require(data.display.is_atomic);
+ data.cp_tests = CP_MEI_RELOAD;
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_1);
+ }
+
igt_fixture
igt_display_fini(&data.display);
}
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] [PATCH i-g-t v8 5/8] kms_content_protection: test content type change
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (3 preceding siblings ...)
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 4/8] kms_content_protection: test teardown and rebuild of I915-mei I/F Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 6/8] kms_content_protection: uevent for HDCP status change Ramalingam C
` (7 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
Testing the content type change when the content protection already
enabled.
v2:
Rebased.
v3:
Type 0 -> Type 1 is included.
Type check is removed [Uma]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
tests/kms_content_protection.c | 47 ++++++++++++++++++++++++++--------
1 file changed, 37 insertions(+), 10 deletions(-)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 76b0c9b0c414..215b7a7c0fc7 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -42,6 +42,7 @@ struct data {
#define CP_DPMS (1 << 0)
#define CP_LIC (1 << 1)
#define CP_MEI_RELOAD (1 << 2)
+#define CP_TYPE_CHANGE (1 << 3)
#define CP_UNDESIRED 0
#define CP_DESIRED 1
@@ -170,7 +171,7 @@ static void modeset_with_fb(const enum pipe pipe, igt_output_t *output,
}
static bool test_cp_enable(igt_output_t *output, enum igt_commit_style s,
- int content_type)
+ int content_type, bool type_change)
{
igt_display_t *display = &data.display;
igt_plane_t *primary;
@@ -178,8 +179,11 @@ static bool test_cp_enable(igt_output_t *output, enum igt_commit_style s,
primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
- igt_output_set_prop_value(output,
- IGT_CONNECTOR_CONTENT_PROTECTION, CP_DESIRED);
+ if (!type_change)
+ igt_output_set_prop_value(output,
+ IGT_CONNECTOR_CONTENT_PROTECTION,
+ CP_DESIRED);
+
if (output->props[IGT_CONNECTOR_HDCP_CONTENT_TYPE])
igt_output_set_prop_value(output,
IGT_CONNECTOR_HDCP_CONTENT_TYPE,
@@ -221,13 +225,17 @@ static void test_cp_disable(igt_output_t *output, enum igt_commit_style s)
static void test_cp_enable_with_retry(igt_output_t *output,
enum igt_commit_style s, int retry,
- int content_type, bool expect_failure)
+ int content_type, bool expect_failure,
+ bool type_change)
{
+ int retry_orig = retry;
bool ret;
do {
- test_cp_disable(output, s);
- ret = test_cp_enable(output, s, content_type);
+ if (!type_change || retry_orig != retry)
+ test_cp_disable(output, s);
+
+ ret = test_cp_enable(output, s, content_type, type_change);
if (!ret && --retry)
igt_debug("Retry (%d/2) ...\n", 3 - retry);
@@ -287,7 +295,19 @@ static void test_content_protection_on_output(igt_output_t *output,
continue;
modeset_with_fb(pipe, output, s);
- test_cp_enable_with_retry(output, s, 3, content_type, false);
+ test_cp_enable_with_retry(output, s, 3, content_type, false,
+ false);
+
+ if (data.cp_tests & CP_TYPE_CHANGE) {
+ /* Type 1 -> Type 0 */
+ test_cp_enable_with_retry(output, s, 3,
+ HDCP_CONTENT_TYPE_0, false,
+ true);
+ /* Type 0 -> Type 1 */
+ test_cp_enable_with_retry(output, s, 3,
+ content_type, false,
+ true);
+ }
if (data.cp_tests & CP_MEI_RELOAD) {
igt_assert_f(!igt_kmod_unload("mei_hdcp", 0),
@@ -295,14 +315,14 @@ static void test_content_protection_on_output(igt_output_t *output,
/* Expected to fail */
test_cp_enable_with_retry(output, s, 3,
- content_type, true);
+ content_type, true, false);
igt_assert_f(!igt_kmod_load("mei_hdcp", NULL),
"mei_hdcp load failed");
/* Expected to pass */
test_cp_enable_with_retry(output, s, 3,
- content_type, false);
+ content_type, false, false);
}
if (data.cp_tests & CP_LIC)
@@ -321,7 +341,8 @@ static void test_content_protection_on_output(igt_output_t *output,
KERNEL_AUTH_TIME_ALLOWED_MSEC);
if (!ret)
test_cp_enable_with_retry(output, s, 2,
- content_type, false);
+ content_type, false,
+ false);
}
test_cp_disable(output, s);
@@ -466,6 +487,12 @@ igt_main
test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_1);
}
+ igt_subtest("content_type_change") {
+ igt_require(data.display.is_atomic);
+ data.cp_tests = CP_TYPE_CHANGE;
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_1);
+ }
+
igt_fixture
igt_display_fini(&data.display);
}
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] [PATCH i-g-t v8 6/8] kms_content_protection: uevent for HDCP status change
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (4 preceding siblings ...)
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 5/8] kms_content_protection: test content type change Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-12 4:29 ` [igt-dev] [PATCH i-g-t v9 " Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 7/8] kms_content_protection: SRM Testing Ramalingam C
` (6 subsequent siblings)
12 siblings, 1 reply; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
To detect the HDCP status change we are reading the uevent sent with the
corresponding connector id and property id.
This avoids the polling of the property every mSec.
v2:
Made it as subtest. Remaining tests will use polling. [Daniel]
v3:
failure to receive the uevent is handled as failure [Uma]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
tests/kms_content_protection.c | 157 ++++++++++++++++++++++++++++++++-
1 file changed, 155 insertions(+), 2 deletions(-)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 215b7a7c0fc7..97db0b7451c0 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -24,6 +24,9 @@
#include <poll.h>
#include <fcntl.h>
+#include <sys/epoll.h>
+#include <sys/stat.h>
+#include <libudev.h>
#include "igt.h"
#include "igt_sysfs.h"
#include "igt_kms.h"
@@ -43,6 +46,7 @@ struct data {
#define CP_LIC (1 << 1)
#define CP_MEI_RELOAD (1 << 2)
#define CP_TYPE_CHANGE (1 << 3)
+#define CP_UEVENT (1 << 4)
#define CP_UNDESIRED 0
#define CP_DESIRED 1
@@ -102,6 +106,137 @@ static int wait_flip_event(void)
return rc;
}
+static bool hdcp_event(struct udev_monitor *uevent_monitor,
+ struct udev *udev, uint32_t conn_id, uint32_t prop_id)
+{
+ struct udev_device *dev;
+ dev_t udev_devnum;
+ struct stat s;
+ const char *hotplug, *connector, *property;
+ bool ret = false;
+
+ dev = udev_monitor_receive_device(uevent_monitor);
+ if (!dev)
+ goto out;
+
+ udev_devnum = udev_device_get_devnum(dev);
+ fstat(data.display.drm_fd, &s);
+
+ hotplug = udev_device_get_property_value(dev, "HOTPLUG");
+ if (!(memcmp(&s.st_rdev, &udev_devnum, sizeof(dev_t)) == 0 &&
+ hotplug && atoi(hotplug) == 1)) {
+ igt_debug("Not a Hotplug event\n");
+ goto out_dev;
+ }
+
+ connector = udev_device_get_property_value(dev, "CONNECTOR");
+ if (!(memcmp(&s.st_rdev, &udev_devnum, sizeof(dev_t)) == 0 &&
+ connector && atoi(connector) == conn_id)) {
+ igt_debug("Not for connector id: %u\n", conn_id);
+ goto out_dev;
+ }
+
+ property = udev_device_get_property_value(dev, "PROPERTY");
+ if (!(memcmp(&s.st_rdev, &udev_devnum, sizeof(dev_t)) == 0 &&
+ property && atoi(property) == prop_id)) {
+ igt_debug("Not for property id: %u\n", prop_id);
+ goto out_dev;
+ }
+ ret = true;
+
+out_dev:
+ udev_device_unref(dev);
+out:
+ return ret;
+}
+
+static void hdcp_udev_fini(struct udev_monitor *uevent_monitor,
+ struct udev *udev)
+{
+ if (uevent_monitor)
+ udev_monitor_unref(uevent_monitor);
+ if (udev)
+ udev_unref(udev);
+}
+
+static int hdcp_udev_init(struct udev_monitor *uevent_monitor,
+ struct udev *udev)
+{
+ int ret = -EINVAL;
+
+ udev = udev_new();
+ if (!udev) {
+ igt_info("failed to create udev object\n");
+ goto out;
+ }
+
+ uevent_monitor = udev_monitor_new_from_netlink(udev, "udev");
+ if (!uevent_monitor) {
+ igt_info("failed to create udev event monitor\n");
+ goto out;
+ }
+
+ ret = udev_monitor_filter_add_match_subsystem_devtype(uevent_monitor,
+ "drm",
+ "drm_minor");
+ if (ret < 0) {
+ igt_info("failed to filter for drm events\n");
+ goto out;
+ }
+
+ ret = udev_monitor_enable_receiving(uevent_monitor);
+ if (ret < 0) {
+ igt_info("failed to enable udev event reception\n");
+ goto out;
+ }
+
+ return udev_monitor_get_fd(uevent_monitor);
+
+out:
+ hdcp_udev_fini(uevent_monitor, udev);
+ return ret;
+}
+
+#define MAX_EVENTS 10
+static bool wait_for_hdcp_event(uint32_t conn_id, uint32_t prop_id,
+ uint32_t timeout_mSec)
+{
+
+ struct udev_monitor *uevent_monitor = NULL;
+ struct udev *udev = NULL;
+ int udev_fd, epoll_fd;
+ struct epoll_event event, events[MAX_EVENTS];
+ bool ret = false;
+
+ udev_fd = hdcp_udev_init(uevent_monitor, udev);
+ if (udev_fd < 0)
+ return false;
+
+ epoll_fd = epoll_create1(0);
+ if (epoll_fd == -1) {
+ igt_info("Failed to create epoll fd. %d\n", epoll_fd);
+ goto out_ep_create;
+ }
+
+ event.events = EPOLLIN | EPOLLERR;
+ event.data.fd = 0;
+
+ if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, udev_fd, &event)) {
+ igt_info("failed to fd into epoll\n");
+ goto out_ep_ctl;
+ }
+
+ if (epoll_wait(epoll_fd, events, MAX_EVENTS, timeout_mSec))
+ ret = hdcp_event(uevent_monitor, udev, conn_id, prop_id);
+
+out_ep_ctl:
+ if (close(epoll_fd))
+ igt_info("failed to close the epoll fd\n");
+out_ep_create:
+ hdcp_udev_fini(uevent_monitor, udev);
+ return ret;
+}
+
static bool
wait_for_prop_value(igt_output_t *output, uint64_t expected,
uint32_t timeout_mSec)
@@ -109,13 +244,25 @@ wait_for_prop_value(igt_output_t *output, uint64_t expected,
uint64_t val;
int i;
- for (i = 0; i < timeout_mSec; i++) {
+ if (data.cp_tests & CP_UEVENT) {
+ igt_assert_f(wait_for_hdcp_event(output->id,
+ output->props[IGT_CONNECTOR_CONTENT_PROTECTION],
+ timeout_mSec), "uevent is not received");
+
val = igt_output_get_prop(output,
IGT_CONNECTOR_CONTENT_PROTECTION);
if (val == expected)
return true;
- usleep(1000);
+ } else {
+ for (i = 0; i < timeout_mSec; i++) {
+ val = igt_output_get_prop(output,
+ IGT_CONNECTOR_CONTENT_PROTECTION);
+ if (val == expected)
+ return true;
+ usleep(1000);
+ }
}
+
igt_info("prop_value mismatch %" PRId64 " != %" PRId64 "\n",
val, expected);
@@ -493,6 +640,12 @@ igt_main
test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_1);
}
+ igt_subtest("uevent") {
+ igt_require(data.display.is_atomic);
+ data.cp_tests = CP_UEVENT;
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_0);
+ }
+
igt_fixture
igt_display_fini(&data.display);
}
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] [PATCH i-g-t v9 6/8] kms_content_protection: uevent for HDCP status change
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 6/8] kms_content_protection: uevent for HDCP status change Ramalingam C
@ 2019-07-12 4:29 ` Ramalingam C
0 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-12 4:29 UTC (permalink / raw)
To: igt-dev, Shankar Uma, Daniel Vetter
To detect the HDCP status change we are reading the uevent sent with the
corresponding connector id and property id.
This avoids the polling of the property every mSec.
v2:
Made it as subtest. Remaining tests will use polling. [Daniel]
v3:
failure to receive the uevent is handled as failure [Uma]
v4:
For UNDESIRED state no uevent is expected.
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
tests/kms_content_protection.c | 157 ++++++++++++++++++++++++++++++++-
1 file changed, 155 insertions(+), 2 deletions(-)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 215b7a7c0fc7..eb0bde7002d0 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -24,6 +24,9 @@
#include <poll.h>
#include <fcntl.h>
+#include <sys/epoll.h>
+#include <sys/stat.h>
+#include <libudev.h>
#include "igt.h"
#include "igt_sysfs.h"
#include "igt_kms.h"
@@ -43,6 +46,7 @@ struct data {
#define CP_LIC (1 << 1)
#define CP_MEI_RELOAD (1 << 2)
#define CP_TYPE_CHANGE (1 << 3)
+#define CP_UEVENT (1 << 4)
#define CP_UNDESIRED 0
#define CP_DESIRED 1
@@ -102,6 +106,137 @@ static int wait_flip_event(void)
return rc;
}
+static bool hdcp_event(struct udev_monitor *uevent_monitor,
+ struct udev *udev, uint32_t conn_id, uint32_t prop_id)
+{
+ struct udev_device *dev;
+ dev_t udev_devnum;
+ struct stat s;
+ const char *hotplug, *connector, *property;
+ bool ret = false;
+
+ dev = udev_monitor_receive_device(uevent_monitor);
+ if (!dev)
+ goto out;
+
+ udev_devnum = udev_device_get_devnum(dev);
+ fstat(data.display.drm_fd, &s);
+
+ hotplug = udev_device_get_property_value(dev, "HOTPLUG");
+ if (!(memcmp(&s.st_rdev, &udev_devnum, sizeof(dev_t)) == 0 &&
+ hotplug && atoi(hotplug) == 1)) {
+ igt_debug("Not a Hotplug event\n");
+ goto out_dev;
+ }
+
+ connector = udev_device_get_property_value(dev, "CONNECTOR");
+ if (!(memcmp(&s.st_rdev, &udev_devnum, sizeof(dev_t)) == 0 &&
+ connector && atoi(connector) == conn_id)) {
+ igt_debug("Not for connector id: %u\n", conn_id);
+ goto out_dev;
+ }
+
+ property = udev_device_get_property_value(dev, "PROPERTY");
+ if (!(memcmp(&s.st_rdev, &udev_devnum, sizeof(dev_t)) == 0 &&
+ property && atoi(property) == prop_id)) {
+ igt_debug("Not for property id: %u\n", prop_id);
+ goto out_dev;
+ }
+ ret = true;
+
+out_dev:
+ udev_device_unref(dev);
+out:
+ return ret;
+}
+
+static void hdcp_udev_fini(struct udev_monitor *uevent_monitor,
+ struct udev *udev)
+{
+ if (uevent_monitor)
+ udev_monitor_unref(uevent_monitor);
+ if (udev)
+ udev_unref(udev);
+}
+
+static int hdcp_udev_init(struct udev_monitor *uevent_monitor,
+ struct udev *udev)
+{
+ int ret = -EINVAL;
+
+ udev = udev_new();
+ if (!udev) {
+ igt_info("failed to create udev object\n");
+ goto out;
+ }
+
+ uevent_monitor = udev_monitor_new_from_netlink(udev, "udev");
+ if (!uevent_monitor) {
+ igt_info("failed to create udev event monitor\n");
+ goto out;
+ }
+
+ ret = udev_monitor_filter_add_match_subsystem_devtype(uevent_monitor,
+ "drm",
+ "drm_minor");
+ if (ret < 0) {
+ igt_info("failed to filter for drm events\n");
+ goto out;
+ }
+
+ ret = udev_monitor_enable_receiving(uevent_monitor);
+ if (ret < 0) {
+ igt_info("failed to enable udev event reception\n");
+ goto out;
+ }
+
+ return udev_monitor_get_fd(uevent_monitor);
+
+out:
+ hdcp_udev_fini(uevent_monitor, udev);
+ return ret;
+}
+
+#define MAX_EVENTS 10
+static bool wait_for_hdcp_event(uint32_t conn_id, uint32_t prop_id,
+ uint32_t timeout_mSec)
+{
+
+ struct udev_monitor *uevent_monitor = NULL;
+ struct udev *udev = NULL;
+ int udev_fd, epoll_fd;
+ struct epoll_event event, events[MAX_EVENTS];
+ bool ret = false;
+
+ udev_fd = hdcp_udev_init(uevent_monitor, udev);
+ if (udev_fd < 0)
+ return false;
+
+ epoll_fd = epoll_create1(0);
+ if (epoll_fd == -1) {
+ igt_info("Failed to create epoll fd. %d\n", epoll_fd);
+ goto out_ep_create;
+ }
+
+ event.events = EPOLLIN | EPOLLERR;
+ event.data.fd = 0;
+
+ if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, udev_fd, &event)) {
+ igt_info("failed to fd into epoll\n");
+ goto out_ep_ctl;
+ }
+
+ if (epoll_wait(epoll_fd, events, MAX_EVENTS, timeout_mSec))
+ ret = hdcp_event(uevent_monitor, udev, conn_id, prop_id);
+
+out_ep_ctl:
+ if (close(epoll_fd))
+ igt_info("failed to close the epoll fd\n");
+out_ep_create:
+ hdcp_udev_fini(uevent_monitor, udev);
+ return ret;
+}
+
static bool
wait_for_prop_value(igt_output_t *output, uint64_t expected,
uint32_t timeout_mSec)
@@ -109,13 +244,25 @@ wait_for_prop_value(igt_output_t *output, uint64_t expected,
uint64_t val;
int i;
- for (i = 0; i < timeout_mSec; i++) {
+ if (data.cp_tests & CP_UEVENT && expected != CP_UNDESIRED) {
+ igt_assert_f(wait_for_hdcp_event(output->id,
+ output->props[IGT_CONNECTOR_CONTENT_PROTECTION],
+ timeout_mSec), "uevent is not received");
+
val = igt_output_get_prop(output,
IGT_CONNECTOR_CONTENT_PROTECTION);
if (val == expected)
return true;
- usleep(1000);
+ } else {
+ for (i = 0; i < timeout_mSec; i++) {
+ val = igt_output_get_prop(output,
+ IGT_CONNECTOR_CONTENT_PROTECTION);
+ if (val == expected)
+ return true;
+ usleep(1000);
+ }
}
+
igt_info("prop_value mismatch %" PRId64 " != %" PRId64 "\n",
val, expected);
@@ -493,6 +640,12 @@ igt_main
test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_1);
}
+ igt_subtest("uevent") {
+ igt_require(data.display.is_atomic);
+ data.cp_tests = CP_UEVENT;
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_0);
+ }
+
igt_fixture
igt_display_fini(&data.display);
}
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [igt-dev] [PATCH i-g-t v8 7/8] kms_content_protection: SRM Testing
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (5 preceding siblings ...)
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 6/8] kms_content_protection: uevent for HDCP status change Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 8/8] DO NOT MERGE: CP in fast feedback list Ramalingam C
` (5 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
Since we don't any uAPI to retrieve the downstream's device's ksv,
we can't check the real revocation through SRM.
This test just writes the facsimile SRM into the /lib/firmware/
and check the kernel parsing of it by invoking the hdcp authentication.
v2:
typos in commit msg is fixed. [Uma]
file mode is added. [GG]
reset test flag. [Uma]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
---
tests/kms_content_protection.c | 46 ++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 97db0b7451c0..6dcd9938130d 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -65,6 +65,12 @@ struct data {
#define KERNEL_DISABLE_TIME_ALLOWED_MSEC (1 * 1000)
#define FLIP_EVENT_POLLING_TIMEOUT_MSEC 1000
+__u8 facsimile_srm[] = {
+ 0x80, 0x0, 0x0, 0x05, 0x01, 0x0, 0x0, 0x36, 0x02, 0x51, 0x1E, 0xF2,
+ 0x1A, 0xCD, 0xE7, 0x26, 0x97, 0xF4, 0x01, 0x97, 0x10, 0x19, 0x92, 0x53,
+ 0xE9, 0xF0, 0x59, 0x95, 0xA3, 0x7A, 0x3B, 0xFE, 0xE0, 0x9C, 0x76, 0xDD,
+ 0x83, 0xAA, 0xC2, 0x5B, 0x24, 0xB3, 0x36, 0x84, 0x94, 0x75, 0x34, 0xDB,
+ 0x10, 0x9E, 0x3B, 0x23, 0x13, 0xD8, 0x7A, 0xC2, 0x30, 0x79, 0x84};
static void flip_handler(int fd, unsigned int sequence, unsigned int tv_sec,
unsigned int tv_usec, void *_data)
@@ -419,6 +425,27 @@ static void test_cp_lic(igt_output_t *output)
igt_assert_f(!ret, "Content Protection LIC Failed\n");
}
+static bool write_srm_as_fw(const __u8 *srm, int len)
+{
+ int fd, ret, total = 0;
+
+ fd = open("/lib/firmware/display_hdcp_srm.bin",
+ O_WRONLY | O_CREAT, S_IRWXU);
+ do {
+ ret = write(fd, srm + total, len - total);
+ if (ret < 0)
+ ret = -errno;
+ if (ret == -EINTR || ret == -EAGAIN)
+ continue;
+ if (ret <= 0)
+ break;
+ total += ret;
+ } while (total != len);
+ close(fd);
+
+ return total < len ? false : true;
+}
+
static void test_content_protection_on_output(igt_output_t *output,
enum igt_commit_style s,
int content_type)
@@ -646,6 +673,25 @@ igt_main
test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_0);
}
+ /*
+ * Testing the revocation check through SRM needs a HDCP sink with
+ * programmable Ksvs or we need a uAPI from kernel to read the
+ * connected HDCP sink's Ksv. With that we would be able to add that
+ * Ksv into a SRM and send in for revocation check. Since we dont have
+ * either of these options, we test SRM writing from userspace and
+ * validation of the same at kernel. Something is better than nothing.
+ */
+ igt_subtest("srm") {
+ bool ret;
+
+ igt_require(data.display.is_atomic);
+ data.cp_tests = 0;
+ ret = write_srm_as_fw((const __u8 *)facsimile_srm,
+ sizeof(facsimile_srm));
+ igt_assert_f(ret, "SRM update failed");
+ test_content_protection(COMMIT_ATOMIC, HDCP_CONTENT_TYPE_0);
+ }
+
igt_fixture
igt_display_fini(&data.display);
}
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] [PATCH i-g-t v8 8/8] DO NOT MERGE: CP in fast feedback list
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (6 preceding siblings ...)
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 7/8] kms_content_protection: SRM Testing Ramalingam C
@ 2019-07-03 9:54 ` Ramalingam C
2019-07-03 17:22 ` [igt-dev] ✓ Fi.CI.BAT: success for HDCP2.2 Tests (rev9) Patchwork
` (4 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-03 9:54 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
For adding the HDCP tests into fastfeedback list
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
---
tests/intel-ci/fast-feedback.testlist | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 29d09a650552..8a7d4cdd61d7 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -156,6 +156,9 @@ igt@kms_chamelium@hdmi-crc-fast
igt@kms_chamelium@vga-hpd-fast
igt@kms_chamelium@vga-edid-read
igt@kms_chamelium@common-hpd-after-suspend
+igt@kms_content_protection@legacy
+igt@kms_content_protection@atomic
+igt@kms_content_protection@srm
igt@kms_prop_blob@basic
igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic
igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy
--
2.19.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread* [igt-dev] ✓ Fi.CI.BAT: success for HDCP2.2 Tests (rev9)
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (7 preceding siblings ...)
2019-07-03 9:54 ` [igt-dev] [PATCH i-g-t v8 8/8] DO NOT MERGE: CP in fast feedback list Ramalingam C
@ 2019-07-03 17:22 ` Patchwork
2019-07-04 19:12 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
` (3 subsequent siblings)
12 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2019-07-03 17:22 UTC (permalink / raw)
To: Ramalingam C; +Cc: igt-dev
== Series Details ==
Series: HDCP2.2 Tests (rev9)
URL : https://patchwork.freedesktop.org/series/57756/
State : success
== Summary ==
CI Bug Log - changes from IGT_5082 -> IGTPW_3237
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/57756/revisions/9/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3237:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_content_protection@srm} (NEW):
- fi-cml-u: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-cml-u/igt@kms_content_protection@srm.html
- fi-cfl-8109u: NOTRUN -> [FAIL][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-cfl-8109u/igt@kms_content_protection@srm.html
- {fi-icl-u4}: NOTRUN -> [SKIP][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-icl-u4/igt@kms_content_protection@srm.html
- fi-icl-dsi: NOTRUN -> [SKIP][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-icl-dsi/igt@kms_content_protection@srm.html
- fi-skl-lmem: NOTRUN -> [FAIL][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-skl-lmem/igt@kms_content_protection@srm.html
- fi-apl-guc: NOTRUN -> [FAIL][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-apl-guc/igt@kms_content_protection@srm.html
- fi-icl-u3: NOTRUN -> [FAIL][7]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-icl-u3/igt@kms_content_protection@srm.html
- fi-cml-u2: NOTRUN -> [SKIP][8]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-cml-u2/igt@kms_content_protection@srm.html
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@kms_content_protection@atomic:
- {fi-icl-u4}: NOTRUN -> [SKIP][9] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-icl-u4/igt@kms_content_protection@atomic.html
New tests
---------
New tests have been introduced between IGT_5082 and IGTPW_3237:
### New IGT tests (1) ###
* igt@kms_content_protection@srm:
- Statuses : 4 fail(s) 7 pass(s) 35 skip(s)
- Exec time: [0.0, 130.19] s
Known issues
------------
Here are the changes found in IGTPW_3237 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap_gtt@basic-small-bo-tiledy:
- fi-icl-u3: [PASS][10] -> [DMESG-WARN][11] ([fdo#107724])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-icl-u3/igt@gem_mmap_gtt@basic-small-bo-tiledy.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-icl-u3/igt@gem_mmap_gtt@basic-small-bo-tiledy.html
* igt@i915_module_load@reload-with-fault-injection:
- fi-skl-6770hq: [PASS][12] -> [DMESG-WARN][13] ([fdo#108529]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-skl-6770hq/igt@i915_module_load@reload-with-fault-injection.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-skl-6770hq/igt@i915_module_load@reload-with-fault-injection.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][14] -> [FAIL][15] ([fdo#109485])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
* igt@kms_flip@basic-flip-vs-dpms:
- fi-skl-6770hq: [PASS][16] -> [SKIP][17] ([fdo#109271]) +23 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-dpms.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-dpms.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-glk-dsi: [INCOMPLETE][18] ([fdo#103359] / [k.org#198133]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-glk-dsi/igt@gem_exec_suspend@basic-s3.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-glk-dsi/igt@gem_exec_suspend@basic-s3.html
* igt@gem_exec_suspend@basic-s4-devices:
- fi-blb-e6850: [INCOMPLETE][20] ([fdo#107718]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html
* igt@i915_selftest@live_sanitycheck:
- fi-icl-u3: [DMESG-WARN][22] ([fdo#107724]) -> [PASS][23] +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [FAIL][24] ([fdo#110387]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
{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#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108529]: https://bugs.freedesktop.org/show_bug.cgi?id=108529
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
[fdo#110387]: https://bugs.freedesktop.org/show_bug.cgi?id=110387
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (55 -> 47)
------------------------------
Missing (8): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* IGT: IGT_5082 -> IGTPW_3237
CI_DRM_6404: 1b853e6e181c6015faca908b57956ea836e1f440 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3237: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/
IGT_5082: f7c51e6fbf8da0784b64a1edaee5266aa9b9f829 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@kms_content_protection@content_type_change
+igt@kms_content_protection@lic
+igt@kms_content_protection@mei_interface
+igt@kms_content_protection@srm
+igt@kms_content_protection@type1
+igt@kms_content_protection@uevent
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [igt-dev] ✗ Fi.CI.IGT: failure for HDCP2.2 Tests (rev9)
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (8 preceding siblings ...)
2019-07-03 17:22 ` [igt-dev] ✓ Fi.CI.BAT: success for HDCP2.2 Tests (rev9) Patchwork
@ 2019-07-04 19:12 ` Patchwork
2019-07-08 11:56 ` Ramalingam C
2019-07-12 12:35 ` [igt-dev] ✓ Fi.CI.BAT: success for HDCP2.2 Tests (rev10) Patchwork
` (2 subsequent siblings)
12 siblings, 1 reply; 16+ messages in thread
From: Patchwork @ 2019-07-04 19:12 UTC (permalink / raw)
To: Ramalingam C; +Cc: igt-dev
== Series Details ==
Series: HDCP2.2 Tests (rev9)
URL : https://patchwork.freedesktop.org/series/57756/
State : failure
== Summary ==
CI Bug Log - changes from IGT_5082_full -> IGTPW_3237_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_3237_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_3237_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/57756/revisions/9/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3237_full:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_content_protection@lic} (NEW):
- shard-apl: NOTRUN -> [FAIL][1] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@kms_content_protection@lic.html
* {igt@kms_content_protection@uevent} (NEW):
- shard-kbl: NOTRUN -> [FAIL][2] +2 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl6/igt@kms_content_protection@uevent.html
- shard-iclb: NOTRUN -> [SKIP][3] +5 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb8/igt@kms_content_protection@uevent.html
* igt@kms_universal_plane@universal-plane-pipe-b-functional:
- shard-glk: [PASS][4] -> [FAIL][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk6/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk9/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
- shard-apl: [PASS][6] -> [FAIL][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl3/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
- shard-kbl: [PASS][8] -> [FAIL][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-kbl6/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
New tests
---------
New tests have been introduced between IGT_5082_full and IGTPW_3237_full:
### New IGT tests (6) ###
* igt@kms_content_protection@content_type_change:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@kms_content_protection@lic:
- Statuses : 2 fail(s) 4 skip(s)
- Exec time: [0.0, 126.94] s
* igt@kms_content_protection@mei_interface:
- Statuses : 6 skip(s)
- Exec time: [0.00] s
* igt@kms_content_protection@srm:
- Statuses : 2 fail(s) 4 skip(s)
- Exec time: [0.00, 124.69] s
* igt@kms_content_protection@type1:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@kms_content_protection@uevent:
- Statuses : 2 fail(s) 4 skip(s)
- Exec time: [0.0, 1.17] s
Known issues
------------
Here are the changes found in IGTPW_3237_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_busy@close-race:
- shard-apl: [PASS][10] -> [DMESG-FAIL][11] ([fdo#111063])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl7/igt@gem_busy@close-race.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@gem_busy@close-race.html
* igt@gem_ctx_shared@exec-shared-gtt-default:
- shard-glk: [PASS][12] -> [FAIL][13] ([fdo#110890])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk2/igt@gem_ctx_shared@exec-shared-gtt-default.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk2/igt@gem_ctx_shared@exec-shared-gtt-default.html
* igt@gem_ctx_shared@q-smoketest-bsd1:
- shard-iclb: [PASS][14] -> [INCOMPLETE][15] ([fdo#107713])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb5/igt@gem_ctx_shared@q-smoketest-bsd1.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb7/igt@gem_ctx_shared@q-smoketest-bsd1.html
* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][16] -> [SKIP][17] ([fdo#110854])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb2/igt@gem_exec_balancer@smoke.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb5/igt@gem_exec_balancer@smoke.html
* igt@i915_pm_rpm@i2c:
- shard-hsw: [PASS][18] -> [FAIL][19] ([fdo#104097])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-hsw8/igt@i915_pm_rpm@i2c.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-hsw4/igt@i915_pm_rpm@i2c.html
* igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen:
- shard-apl: [PASS][20] -> [FAIL][21] ([fdo#103232]) +3 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl2/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl4/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
* igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:
- shard-kbl: [PASS][22] -> [FAIL][23] ([fdo#103232]) +3 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl1/igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-glk: [PASS][24] -> [FAIL][25] ([fdo#105363])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk4/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk1/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite:
- shard-iclb: [PASS][26] -> [FAIL][27] ([fdo#103167]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-apl: [PASS][28] -> [DMESG-WARN][29] ([fdo#108566]) +3 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][30] -> [SKIP][31] ([fdo#109441])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb5/igt@kms_psr@psr2_cursor_render.html
* igt@kms_setmode@basic:
- shard-apl: [PASS][32] -> [FAIL][33] ([fdo#99912])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl6/igt@kms_setmode@basic.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl2/igt@kms_setmode@basic.html
* igt@tools_test@sysfs_l3_parity:
- shard-hsw: [PASS][34] -> [SKIP][35] ([fdo#109271])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-hsw5/igt@tools_test@sysfs_l3_parity.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-hsw8/igt@tools_test@sysfs_l3_parity.html
#### Possible fixes ####
* igt@gem_busy@close-race:
- shard-snb: [DMESG-FAIL][36] -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-snb2/igt@gem_busy@close-race.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-snb1/igt@gem_busy@close-race.html
* igt@gem_eio@unwedge-stress:
- shard-snb: [FAIL][38] ([fdo#109661]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-snb7/igt@gem_eio@unwedge-stress.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-snb1/igt@gem_eio@unwedge-stress.html
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-glk: [FAIL][40] ([fdo#104873]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk4/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk7/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [FAIL][42] ([fdo#105363]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk9/igt@kms_flip@flip-vs-expired-vblank.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk8/igt@kms_flip@flip-vs-expired-vblank.html
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-kbl: [DMESG-WARN][44] ([fdo#103313]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-kbl1/igt@kms_flip@flip-vs-suspend-interruptible.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible.html
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- shard-iclb: [FAIL][46] ([fdo#103167]) -> [PASS][47] +2 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-apl: [DMESG-WARN][48] ([fdo#108566]) -> [PASS][49] +3 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl1/igt@kms_frontbuffer_tracking@fbc-suspend.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl7/igt@kms_frontbuffer_tracking@fbc-suspend.html
* igt@kms_psr@psr2_cursor_mmap_gtt:
- shard-iclb: [SKIP][50] ([fdo#109441]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb7/igt@kms_psr@psr2_cursor_mmap_gtt.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_gtt.html
* igt@prime_busy@wait-hang-bsd:
- shard-hsw: [INCOMPLETE][52] ([fdo#103540]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-hsw7/igt@prime_busy@wait-hang-bsd.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-hsw5/igt@prime_busy@wait-hang-bsd.html
{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#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103313]: https://bugs.freedesktop.org/show_bug.cgi?id=103313
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#104097]: https://bugs.freedesktop.org/show_bug.cgi?id=104097
[fdo#104873]: https://bugs.freedesktop.org/show_bug.cgi?id=104873
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#110890]: https://bugs.freedesktop.org/show_bug.cgi?id=110890
[fdo#111063]: https://bugs.freedesktop.org/show_bug.cgi?id=111063
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (7 -> 6)
------------------------------
Missing (1): shard-skl
Build changes
-------------
* IGT: IGT_5082 -> IGTPW_3237
CI_DRM_6404: 1b853e6e181c6015faca908b57956ea836e1f440 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3237: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/
IGT_5082: f7c51e6fbf8da0784b64a1edaee5266aa9b9f829 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [igt-dev] ✗ Fi.CI.IGT: failure for HDCP2.2 Tests (rev9)
2019-07-04 19:12 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
@ 2019-07-08 11:56 ` Ramalingam C
0 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-07-08 11:56 UTC (permalink / raw)
To: igt-dev, Martin Peres
On 2019-07-04 at 19:12:06 +0000, Patchwork wrote:
> == Series Details ==
>
> Series: HDCP2.2 Tests (rev9)
> URL : https://patchwork.freedesktop.org/series/57756/
> State : failure
>
> == Summary ==
>
> CI Bug Log - changes from IGT_5082_full -> IGTPW_3237_full
> ====================================================
>
> Summary
> -------
>
> **FAILURE**
>
> Serious unknown changes coming with IGTPW_3237_full absolutely need to be
> verified manually.
>
> If you think the reported changes have nothing to do with the changes
> introduced in IGTPW_3237_full, please notify your bug team to allow them
> to document this new failure mode, which will reduce false positives in CI.
>
> External URL: https://patchwork.freedesktop.org/api/1.0/series/57756/revisions/9/mbox/
>
> Possible new issues
> -------------------
>
> Here are the unknown changes that may have been introduced in IGTPW_3237_full:
>
> ### IGT changes ###
>
> #### Possible regressions ####
>
> * {igt@kms_content_protection@lic} (NEW):
> - shard-apl: NOTRUN -> [FAIL][1] +2 similar issues
> [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@kms_content_protection@lic.html
This is failed becasuse of Lspcon issue. Which is known.
>
> * {igt@kms_content_protection@uevent} (NEW):
> - shard-kbl: NOTRUN -> [FAIL][2] +2 similar issues
> [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl6/igt@kms_content_protection@uevent.html
Test execution is terminated in the middle. Not sure why!
> - shard-iclb: NOTRUN -> [SKIP][3] +5 similar issues
> [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb8/igt@kms_content_protection@uevent.html
No HDCP capable connector found. Hence skipped. Expected.
Martin,
With above hdcp relevant failures are not a regression, and below
failures doesn't look like hdcp related.
Could you please guide me what needs to be done here.
Thanks,
Ram.
>
> * igt@kms_universal_plane@universal-plane-pipe-b-functional:
> - shard-glk: [PASS][4] -> [FAIL][5]
> [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk6/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
> [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk9/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
> - shard-apl: [PASS][6] -> [FAIL][7]
> [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl3/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
> [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
> - shard-kbl: [PASS][8] -> [FAIL][9]
> [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-kbl6/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
> [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-b-functional.html
>
>
> New tests
> ---------
>
> New tests have been introduced between IGT_5082_full and IGTPW_3237_full:
>
> ### New IGT tests (6) ###
>
> * igt@kms_content_protection@content_type_change:
> - Statuses : 6 skip(s)
> - Exec time: [0.0] s
>
> * igt@kms_content_protection@lic:
> - Statuses : 2 fail(s) 4 skip(s)
> - Exec time: [0.0, 126.94] s
>
> * igt@kms_content_protection@mei_interface:
> - Statuses : 6 skip(s)
> - Exec time: [0.00] s
>
> * igt@kms_content_protection@srm:
> - Statuses : 2 fail(s) 4 skip(s)
> - Exec time: [0.00, 124.69] s
>
> * igt@kms_content_protection@type1:
> - Statuses : 6 skip(s)
> - Exec time: [0.0] s
>
> * igt@kms_content_protection@uevent:
> - Statuses : 2 fail(s) 4 skip(s)
> - Exec time: [0.0, 1.17] s
>
>
>
> Known issues
> ------------
>
> Here are the changes found in IGTPW_3237_full that come from known issues:
>
> ### IGT changes ###
>
> #### Issues hit ####
>
> * igt@gem_busy@close-race:
> - shard-apl: [PASS][10] -> [DMESG-FAIL][11] ([fdo#111063])
> [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl7/igt@gem_busy@close-race.html
> [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@gem_busy@close-race.html
>
> * igt@gem_ctx_shared@exec-shared-gtt-default:
> - shard-glk: [PASS][12] -> [FAIL][13] ([fdo#110890])
> [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk2/igt@gem_ctx_shared@exec-shared-gtt-default.html
> [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk2/igt@gem_ctx_shared@exec-shared-gtt-default.html
>
> * igt@gem_ctx_shared@q-smoketest-bsd1:
> - shard-iclb: [PASS][14] -> [INCOMPLETE][15] ([fdo#107713])
> [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb5/igt@gem_ctx_shared@q-smoketest-bsd1.html
> [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb7/igt@gem_ctx_shared@q-smoketest-bsd1.html
>
> * igt@gem_exec_balancer@smoke:
> - shard-iclb: [PASS][16] -> [SKIP][17] ([fdo#110854])
> [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb2/igt@gem_exec_balancer@smoke.html
> [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb5/igt@gem_exec_balancer@smoke.html
>
> * igt@i915_pm_rpm@i2c:
> - shard-hsw: [PASS][18] -> [FAIL][19] ([fdo#104097])
> [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-hsw8/igt@i915_pm_rpm@i2c.html
> [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-hsw4/igt@i915_pm_rpm@i2c.html
>
> * igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen:
> - shard-apl: [PASS][20] -> [FAIL][21] ([fdo#103232]) +3 similar issues
> [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl2/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
> [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl4/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
>
> * igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:
> - shard-kbl: [PASS][22] -> [FAIL][23] ([fdo#103232]) +3 similar issues
> [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding.html
> [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl1/igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding.html
>
> * igt@kms_flip@flip-vs-expired-vblank-interruptible:
> - shard-glk: [PASS][24] -> [FAIL][25] ([fdo#105363])
> [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk4/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
> [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk1/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
>
> * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite:
> - shard-iclb: [PASS][26] -> [FAIL][27] ([fdo#103167]) +3 similar issues
> [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
> [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
>
> * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
> - shard-apl: [PASS][28] -> [DMESG-WARN][29] ([fdo#108566]) +3 similar issues
> [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
> [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl5/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
>
> * igt@kms_psr@psr2_cursor_render:
> - shard-iclb: [PASS][30] -> [SKIP][31] ([fdo#109441])
> [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
> [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb5/igt@kms_psr@psr2_cursor_render.html
>
> * igt@kms_setmode@basic:
> - shard-apl: [PASS][32] -> [FAIL][33] ([fdo#99912])
> [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl6/igt@kms_setmode@basic.html
> [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl2/igt@kms_setmode@basic.html
>
> * igt@tools_test@sysfs_l3_parity:
> - shard-hsw: [PASS][34] -> [SKIP][35] ([fdo#109271])
> [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-hsw5/igt@tools_test@sysfs_l3_parity.html
> [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-hsw8/igt@tools_test@sysfs_l3_parity.html
>
>
> #### Possible fixes ####
>
> * igt@gem_busy@close-race:
> - shard-snb: [DMESG-FAIL][36] -> [PASS][37]
> [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-snb2/igt@gem_busy@close-race.html
> [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-snb1/igt@gem_busy@close-race.html
>
> * igt@gem_eio@unwedge-stress:
> - shard-snb: [FAIL][38] ([fdo#109661]) -> [PASS][39]
> [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-snb7/igt@gem_eio@unwedge-stress.html
> [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-snb1/igt@gem_eio@unwedge-stress.html
>
> * igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
> - shard-glk: [FAIL][40] ([fdo#104873]) -> [PASS][41]
> [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk4/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
> [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk7/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
>
> * igt@kms_flip@flip-vs-expired-vblank:
> - shard-glk: [FAIL][42] ([fdo#105363]) -> [PASS][43]
> [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-glk9/igt@kms_flip@flip-vs-expired-vblank.html
> [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-glk8/igt@kms_flip@flip-vs-expired-vblank.html
>
> * igt@kms_flip@flip-vs-suspend-interruptible:
> - shard-kbl: [DMESG-WARN][44] ([fdo#103313]) -> [PASS][45]
> [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-kbl1/igt@kms_flip@flip-vs-suspend-interruptible.html
> [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible.html
>
> * igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
> - shard-iclb: [FAIL][46] ([fdo#103167]) -> [PASS][47] +2 similar issues
> [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html
> [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html
>
> * igt@kms_frontbuffer_tracking@fbc-suspend:
> - shard-apl: [DMESG-WARN][48] ([fdo#108566]) -> [PASS][49] +3 similar issues
> [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-apl1/igt@kms_frontbuffer_tracking@fbc-suspend.html
> [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-apl7/igt@kms_frontbuffer_tracking@fbc-suspend.html
>
> * igt@kms_psr@psr2_cursor_mmap_gtt:
> - shard-iclb: [SKIP][50] ([fdo#109441]) -> [PASS][51]
> [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-iclb7/igt@kms_psr@psr2_cursor_mmap_gtt.html
> [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_gtt.html
>
> * igt@prime_busy@wait-hang-bsd:
> - shard-hsw: [INCOMPLETE][52] ([fdo#103540]) -> [PASS][53]
> [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5082/shard-hsw7/igt@prime_busy@wait-hang-bsd.html
> [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/shard-hsw5/igt@prime_busy@wait-hang-bsd.html
>
>
> {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#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
> [fdo#103313]: https://bugs.freedesktop.org/show_bug.cgi?id=103313
> [fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
> [fdo#104097]: https://bugs.freedesktop.org/show_bug.cgi?id=104097
> [fdo#104873]: https://bugs.freedesktop.org/show_bug.cgi?id=104873
> [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
> [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
> [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
> [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
> [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
> [fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
> [fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
> [fdo#110890]: https://bugs.freedesktop.org/show_bug.cgi?id=110890
> [fdo#111063]: https://bugs.freedesktop.org/show_bug.cgi?id=111063
> [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
>
>
> Participating hosts (7 -> 6)
> ------------------------------
>
> Missing (1): shard-skl
>
>
> Build changes
> -------------
>
> * IGT: IGT_5082 -> IGTPW_3237
>
> CI_DRM_6404: 1b853e6e181c6015faca908b57956ea836e1f440 @ git://anongit.freedesktop.org/gfx-ci/linux
> IGTPW_3237: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/
> IGT_5082: f7c51e6fbf8da0784b64a1edaee5266aa9b9f829 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
>
> == Logs ==
>
> For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3237/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for HDCP2.2 Tests (rev10)
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (9 preceding siblings ...)
2019-07-04 19:12 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
@ 2019-07-12 12:35 ` Patchwork
2019-07-13 21:30 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-08-06 11:04 ` [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
12 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2019-07-12 12:35 UTC (permalink / raw)
To: Ramalingam C; +Cc: igt-dev
== Series Details ==
Series: HDCP2.2 Tests (rev10)
URL : https://patchwork.freedesktop.org/series/57756/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6472 -> IGTPW_3263
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/57756/revisions/10/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3263:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_content_protection@srm} (NEW):
- fi-cml-u: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-cml-u/igt@kms_content_protection@srm.html
- fi-cfl-8109u: NOTRUN -> [FAIL][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-cfl-8109u/igt@kms_content_protection@srm.html
- {fi-icl-u4}: NOTRUN -> [SKIP][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-icl-u4/igt@kms_content_protection@srm.html
- fi-skl-lmem: NOTRUN -> [FAIL][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-skl-lmem/igt@kms_content_protection@srm.html
- fi-apl-guc: NOTRUN -> [FAIL][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-apl-guc/igt@kms_content_protection@srm.html
- fi-cml-u2: NOTRUN -> [SKIP][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-cml-u2/igt@kms_content_protection@srm.html
New tests
---------
New tests have been introduced between CI_DRM_6472 and IGTPW_3263:
### New IGT tests (1) ###
* igt@kms_content_protection@srm:
- Statuses : 3 fail(s) 8 pass(s) 33 skip(s)
- Exec time: [0.0, 130.07] s
Known issues
------------
Here are the changes found in IGTPW_3263 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_create@basic-files:
- fi-icl-dsi: [PASS][7] -> [INCOMPLETE][8] ([fdo#107713] / [fdo#109100])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/fi-icl-dsi/igt@gem_ctx_create@basic-files.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-icl-dsi/igt@gem_ctx_create@basic-files.html
* igt@gem_exec_suspend@basic-s3:
- fi-blb-e6850: [PASS][9] -> [INCOMPLETE][10] ([fdo#107718])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/fi-blb-e6850/igt@gem_exec_suspend@basic-s3.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-blb-e6850/igt@gem_exec_suspend@basic-s3.html
* igt@i915_module_load@reload-with-fault-injection:
- fi-skl-6770hq: [PASS][11] -> [DMESG-WARN][12] ([fdo#108529]) +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/fi-skl-6770hq/igt@i915_module_load@reload-with-fault-injection.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-skl-6770hq/igt@i915_module_load@reload-with-fault-injection.html
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [PASS][13] -> [FAIL][14] ([fdo#110627])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
* igt@kms_flip@basic-flip-vs-dpms:
- fi-skl-6770hq: [PASS][15] -> [SKIP][16] ([fdo#109271]) +23 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-dpms.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-dpms.html
#### Possible fixes ####
* igt@i915_selftest@live_execlists:
- fi-skl-gvtdvm: [DMESG-FAIL][17] ([fdo#111108]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108529]: https://bugs.freedesktop.org/show_bug.cgi?id=108529
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#110627]: https://bugs.freedesktop.org/show_bug.cgi?id=110627
[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 (54 -> 47)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* IGT: IGT_5094 -> IGTPW_3263
CI_DRM_6472: 649e17f8cfe7361cbc104427d155f685cf7151d5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3263: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/
IGT_5094: d7f140b5b02d054183a74842b4579cf7f5533927 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@kms_content_protection@content_type_change
+igt@kms_content_protection@lic
+igt@kms_content_protection@mei_interface
+igt@kms_content_protection@srm
+igt@kms_content_protection@type1
+igt@kms_content_protection@uevent
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* [igt-dev] ✓ Fi.CI.IGT: success for HDCP2.2 Tests (rev10)
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (10 preceding siblings ...)
2019-07-12 12:35 ` [igt-dev] ✓ Fi.CI.BAT: success for HDCP2.2 Tests (rev10) Patchwork
@ 2019-07-13 21:30 ` Patchwork
2019-08-06 11:04 ` [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
12 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2019-07-13 21:30 UTC (permalink / raw)
To: Ramalingam C; +Cc: igt-dev
== Series Details ==
Series: HDCP2.2 Tests (rev10)
URL : https://patchwork.freedesktop.org/series/57756/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6472_full -> IGTPW_3263_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/57756/revisions/10/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3263_full:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_content_protection@lic} (NEW):
- shard-apl: NOTRUN -> [FAIL][1] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-apl8/igt@kms_content_protection@lic.html
* {igt@kms_content_protection@uevent} (NEW):
- shard-kbl: NOTRUN -> [FAIL][2] +2 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-kbl6/igt@kms_content_protection@uevent.html
- shard-iclb: NOTRUN -> [SKIP][3] +5 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-iclb5/igt@kms_content_protection@uevent.html
New tests
---------
New tests have been introduced between CI_DRM_6472_full and IGTPW_3263_full:
### New IGT tests (6) ###
* igt@kms_content_protection@content_type_change:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@kms_content_protection@lic:
- Statuses : 2 fail(s) 4 skip(s)
- Exec time: [0.0, 125.54] s
* igt@kms_content_protection@mei_interface:
- Statuses : 6 skip(s)
- Exec time: [0.00] s
* igt@kms_content_protection@srm:
- Statuses : 2 fail(s) 4 skip(s)
- Exec time: [0.00, 123.26] s
* igt@kms_content_protection@type1:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@kms_content_protection@uevent:
- Statuses : 2 fail(s) 4 skip(s)
- Exec time: [0.0, 34.62] s
Known issues
------------
Here are the changes found in IGTPW_3263_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@in-flight-suspend:
- shard-apl: [PASS][4] -> [DMESG-WARN][5] ([fdo#108566]) +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-apl5/igt@gem_eio@in-flight-suspend.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-apl6/igt@gem_eio@in-flight-suspend.html
* igt@kms_cursor_crc@pipe-a-cursor-128x128-sliding:
- shard-apl: [PASS][6] -> [FAIL][7] ([fdo#103232]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-apl5/igt@kms_cursor_crc@pipe-a-cursor-128x128-sliding.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-apl3/igt@kms_cursor_crc@pipe-a-cursor-128x128-sliding.html
* igt@kms_cursor_crc@pipe-c-cursor-64x64-onscreen:
- shard-kbl: [PASS][8] -> [FAIL][9] ([fdo#103232]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-kbl7/igt@kms_cursor_crc@pipe-c-cursor-64x64-onscreen.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-64x64-onscreen.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-iclb: [PASS][10] -> [FAIL][11] ([fdo#103167]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_psr@psr2_basic:
- shard-iclb: [PASS][12] -> [SKIP][13] ([fdo#109441]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-iclb2/igt@kms_psr@psr2_basic.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-iclb7/igt@kms_psr@psr2_basic.html
#### Possible fixes ####
* igt@gem_tiled_swapping@non-threaded:
- shard-iclb: [INCOMPLETE][14] ([fdo#107713] / [fdo#108686]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-iclb4/igt@gem_tiled_swapping@non-threaded.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-iclb3/igt@gem_tiled_swapping@non-threaded.html
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-iclb: [FAIL][16] ([fdo#103167]) -> [PASS][17] +4 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-suspend.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-suspend.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render:
- shard-iclb: [INCOMPLETE][18] ([fdo#106978] / [fdo#107713]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-apl: [DMESG-WARN][20] ([fdo#108566]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-apl7/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-apl1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
* igt@kms_setmode@basic:
- shard-apl: [FAIL][22] ([fdo#99912]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6472/shard-apl5/igt@kms_setmode@basic.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/shard-apl6/igt@kms_setmode@basic.html
{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#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#106978]: https://bugs.freedesktop.org/show_bug.cgi?id=106978
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (10 -> 6)
------------------------------
Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005
Build changes
-------------
* IGT: IGT_5094 -> IGTPW_3263
* Piglit: piglit_4509 -> None
CI_DRM_6472: 649e17f8cfe7361cbc104427d155f685cf7151d5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3263: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/
IGT_5094: d7f140b5b02d054183a74842b4579cf7f5533927 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3263/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests
2019-07-03 9:54 [igt-dev] [PATCH i-g-t v8 0/8] HDCP2.2 Tests Ramalingam C
` (11 preceding siblings ...)
2019-07-13 21:30 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2019-08-06 11:04 ` Ramalingam C
12 siblings, 0 replies; 16+ messages in thread
From: Ramalingam C @ 2019-08-06 11:04 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
On 2019-07-03 at 15:24:38 +0530, Ramalingam C wrote:
> This series adds tests for:
> 1. content_type which is added for HDCP2.2.
> Adds a new test for Type1.
> 2. Adds another test for Type1 -> Type0.
> 3. teardown and rebuild of i915-mei interface.
> Removes the mei_hdcp and reloads it and test for HDCP2.2.
> 4. Test for SRM write and kernel validation
> 5 Link Integrity check is converted as a separate subtest
> 6. Subtest is added to test the uevent for HDCP state change.
>
> v8:
> Failure to receive the uevent is handled as a failure [uma]
> captured all r-b received from reviewers.
>
> Thanks Uma and Daniel for the review. With this, if ci is happy, we can
> merge the series.
This series(except 8th patch) is merged. Thanks for the review.
BR,
-Ram
>
> Ramalingam C (8):
> kms_content_protection: Tests are defined by flags
> kms_content_protection: Link Integrity Check subtest
> kms_content_protection: Content type support
> kms_content_protection: test teardown and rebuild of I915-mei I/F
> kms_content_protection: test content type change
> kms_content_protection: uevent for HDCP status change
> kms_content_protection: SRM Testing
> DO NOT MERGE: CP in fast feedback list
>
> lib/igt_kms.c | 1 +
> lib/igt_kms.h | 1 +
> tests/intel-ci/fast-feedback.testlist | 3 +
> tests/kms_content_protection.c | 365 ++++++++++++++++++++++++--
> 4 files changed, 348 insertions(+), 22 deletions(-)
>
> --
> 2.19.1
>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread