public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH v2] Add eDP support in Link Layer Compliance Tool
@ 2020-04-16  8:03 Nidhi Gupta
  2020-04-16  8:43 ` [igt-dev] ✓ Fi.CI.BAT: success for Add eDP support in Link Layer Compliance Tool (rev2) Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nidhi Gupta @ 2020-04-16  8:03 UTC (permalink / raw)
  To: igt-dev; +Cc: Nidhi Gupta

Adding eDP support for Link Layer Compliance tool
of DP-PHY test automation. Current Implementation
of this compliance tool can be used for dp and eDP
both. Hence extending to eDP too.

Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
---
 tools/intel_dp_compliance.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/intel_dp_compliance.c b/tools/intel_dp_compliance.c
index 2d42cb1..f26108b 100644
--- a/tools/intel_dp_compliance.c
+++ b/tools/intel_dp_compliance.c
@@ -849,7 +849,8 @@ int update_display(int mode, bool is_compliance_test)
 		conn = &connectors[cnt];
 		conn->id = resources->connectors[cnt];
 		c = drmModeGetConnector(drm_fd, conn->id);
-		if (c->connector_type == DRM_MODE_CONNECTOR_DisplayPort &&
+		if ((c->connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
+		    c->connector_type == DRM_MODE_CONNECTOR_eDP) &&
 		    c->connection == DRM_MODE_CONNECTED) {
 			test_connector_id = c->connector_id;
 			conn->connector = c;
-- 
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] 4+ messages in thread

end of thread, other threads:[~2020-04-17  7:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-16  8:03 [igt-dev] [PATCH v2] Add eDP support in Link Layer Compliance Tool Nidhi Gupta
2020-04-16  8:43 ` [igt-dev] ✓ Fi.CI.BAT: success for Add eDP support in Link Layer Compliance Tool (rev2) Patchwork
2020-04-17  4:37 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2020-04-17  7:39 ` [igt-dev] [PATCH v2] Add eDP support in Link Layer Compliance Tool Ramalingam C

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