public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [RFC PATCH i-g-t] Adding the support for DP-Phy Compliance Test.
@ 2019-11-15 12:45 Nidhi Gupta
  2019-11-15 13:07 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2019-11-16 19:34 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Nidhi Gupta @ 2019-11-15 12:45 UTC (permalink / raw)
  To: igt-dev; +Cc: Nidhi Gupta

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@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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-16 19:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-15 12:45 [igt-dev] [RFC PATCH i-g-t] Adding the support for DP-Phy Compliance Test Nidhi Gupta
2019-11-15 13:07 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-11-16 19:34 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox