[PATCH i-g-t] tests/amdgpu/amd_replay: Skip test if no DRM DP AUX Interface

Tom Chung chiahsuan.chung at amd.com
Mon Mar 3 09:56:21 UTC 2025


[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 at 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



More information about the igt-dev mailing list