All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] tests/kms_dp_aux_dev: Check DP connection only before tests
@ 2022-10-26  2:16 Alex Hung
  2022-10-26  3:16 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alex Hung @ 2022-10-26  2:16 UTC (permalink / raw)
  To: igt-dev; +Cc: markyacoub

Without DP port connected, kernel reports "Too many retries"
that indicates no sink to respond. This is the same across GPUs.

amdgpu ... DM aux hw bus 2: Too many retries, giving up. First error: -5
i915 ... AUX C/DDI C/PHY C: Too many retries, giving up. First error: -110

In addition, the test can result time out such as below:

/dev/drm_dp_aux0: Connection timed out
/dev/drm_dp_aux1: Connection timed out

As a result, checking DP connection alone should be sufficient.

Signed-off-by: Alex Hung <alex.hung@amd.com>
---
 tests/kms_dp_aux_dev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/kms_dp_aux_dev.c b/tests/kms_dp_aux_dev.c
index ed9dd510..7fce74a4 100644
--- a/tests/kms_dp_aux_dev.c
+++ b/tests/kms_dp_aux_dev.c
@@ -53,8 +53,7 @@ static bool test(int drm_fd, uint32_t connector_id)
 	drmModeFreeConnector(connector);
 	igt_assert(dir_fd >= 0);
 
-	if (connector->connection != DRM_MODE_CONNECTED &&
-	    is_mst_connector(drm_fd, connector_id)) {
+	if (connector->connection != DRM_MODE_CONNECTED) {
 		close(dir_fd);
 		return false;
 	}
-- 
2.34.1

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

end of thread, other threads:[~2022-10-27  1:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-26  2:16 [igt-dev] [PATCH] tests/kms_dp_aux_dev: Check DP connection only before tests Alex Hung
2022-10-26  3:16 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-10-26  7:59 ` [igt-dev] [PATCH] " Petri Latvala
2022-10-26 11:14   ` Modem, Bhanuprakash
2022-10-26 15:07     ` Alex Hung
2022-10-27  1:12       ` Modem, Bhanuprakash
2022-10-26 18:14 ` [igt-dev] ✗ Fi.CI.IGT: failure for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.