[PATCH i-g-t] tests/amdgpu/amd_replay: Skip test if no DRM DP AUX Interface
Alex Hung
alex.hung at amd.com
Mon Mar 3 15:04:21 UTC 2025
Reviewed-by: Alex Hung <alex.hung at amd.com>
On 3/3/25 02:56, Tom Chung wrote:
> [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;
> }
>
More information about the igt-dev
mailing list