Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/amdgpu/amd_replay: Skip test if no DRM DP AUX Interface
@ 2025-03-03  9:56 Tom Chung
  2025-03-03 15:04 ` Alex Hung
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tom Chung @ 2025-03-03  9:56 UTC (permalink / raw)
  To: igt-dev; +Cc: alex.hung, sunpeng.li, chiahsuan.chung

[Why]
The Replay IGT test need to communicate with eDP via drm_dp_aux*
Currently the test will report FAIL if no DRM DP AUX Interface
found on the system.

[How]
Skip the test if no DRM DP AUX Interface on the system and info
the tester the DRM DP AUX Interface need to be enabled in kernel
config to run the test.

The following setting in kernel config needs to be enabled for
amd_replay test.

Linux Kernel Configuration
└─>Device Drivers
└─>Graphics support
└─>Direct Rendering Manager
└─>DRM DP AUX Interface

Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
---
 tests/amdgpu/amd_replay.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/amdgpu/amd_replay.c b/tests/amdgpu/amd_replay.c
index db2ac2de9..500e8253e 100644
--- a/tests/amdgpu/amd_replay.c
+++ b/tests/amdgpu/amd_replay.c
@@ -212,6 +212,8 @@ static bool dpcd_read_byte(int drm_fd,
 	closedir(dir);
 	close(dir_fd);
 
+	igt_skip("Missing /dev/drm_dp_aux*, check DRM_DISPLAY_DP_AUX_CHARDEV in kernel config\n");
+
 	return false;
 }
 
-- 
2.43.0


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

end of thread, other threads:[~2025-03-03 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-03  9:56 [PATCH i-g-t] tests/amdgpu/amd_replay: Skip test if no DRM DP AUX Interface Tom Chung
2025-03-03 15:04 ` Alex Hung
2025-03-03 19:38 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-03-03 19:50 ` ✗ i915.CI.BAT: failure " Patchwork
2025-03-03 21:33 ` ✗ Xe.CI.Full: " Patchwork

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