Skip to content
Snippets Groups Projects
Commit ec9fd645 authored by Tom Chung's avatar Tom Chung Committed by Alex Hung
Browse files

tests/amdgpu/amd_replay: Skip test if no DRM DP AUX Interface


[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: default avatarTom Chung <chiahsuan.chung@amd.com>
Reviewed-by: default avatarAlex Hung <alex.hung@amd.com>
parent 25039689
No related branches found
No related tags found
No related merge requests found
Pipeline #1381174 passed
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment