public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Nidhi Gupta <nidhi1.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Nidhi Gupta <nidhi1.gupta@intel.com>
Subject: [igt-dev] [RFC PATCH i-g-t] Adding the support for DP-Phy Compliance Test.
Date: Fri, 15 Nov 2019 18:15:22 +0530	[thread overview]
Message-ID: <1573821922-3416-1-git-send-email-nidhi1.gupta@intel.com> (raw)

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

             reply	other threads:[~2019-11-15 12:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15 12:45 Nidhi Gupta [this message]
2019-11-15 13:07 ` [igt-dev] ✓ Fi.CI.BAT: success for Adding the support for DP-Phy Compliance Test Patchwork
2019-11-16 19:34 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1573821922-3416-1-git-send-email-nidhi1.gupta@intel.com \
    --to=nidhi1.gupta@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox