Thread (3 messages) 3 messages, 2 authors, 2019-11-16

[igt-dev] [RFC PATCH i-g-t] Adding the support for DP-Phy Compliance Test.

From: Nidhi Gupta <hidden>
Date: 2019-11-15 12:41:47
Subsystem: the rest · Maintainer: Linus Torvalds

Adding a test case for DP_TEST_LINK_PHY_TEST_PATTERN in
intel_dp_compliance tool. This will trigger dp connector
preferred mode modeset in case of hotplug event when test
type is DP_TEST_LINK_PHY_TEST_PATTERN.

Signed-off-by: Nidhi Gupta <redacted>
---
 tools/intel_dp_compliance.c | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/tools/intel_dp_compliance.c b/tools/intel_dp_compliance.c
index 14631a4..a95c11f 100644
--- a/tools/intel_dp_compliance.c
+++ b/tools/intel_dp_compliance.c
@@ -334,6 +334,11 @@ static int process_test_request(int test_type)
 			INTEL_DP_RESOLUTION_SHIFT_MASK;
 		valid = true;
 		break;
+	case DP_TEST_LINK_PHY_TEST_PATTERN:
+		/* Triggering a modeset for kernel for Dp Phy-Compliance Test */
+		mode = INTEL_MODE_PREFERRED;
+		valid = true;
+		break;
 	default:
 		/* Unknown test type */
 		fprintf(stderr, "Invalid test request, ignored.\n");
-- 
2.7.4

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help