[igt-dev] [RFC PATCH i-g-t] Adding the support for DP-Phy Compliance Test.
Nidhi Gupta
nidhi1.gupta at intel.com
Fri Nov 15 12:45:22 UTC 2019
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 <nidhi1.gupta at intel.com>
---
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
More information about the igt-dev
mailing list