From: Alex Hung <alex.hung@amd.com>
To: Tom Chung <chiahsuan.chung@amd.com>, igt-dev@lists.freedesktop.org
Cc: sunpeng.li@amd.com
Subject: Re: [PATCH i-g-t] tests/amdgpu/amd_replay: Skip test if no DRM DP AUX Interface
Date: Mon, 3 Mar 2025 08:04:21 -0700 [thread overview]
Message-ID: <8e94eb6e-c19b-419c-b2c2-0f3cf77a0f36@amd.com> (raw)
In-Reply-To: <20250303095635.2874-1-chiahsuan.chung@amd.com>
Reviewed-by: Alex Hung <alex.hung@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@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;
> }
>
next prev parent reply other threads:[~2025-03-03 15:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e94eb6e-c19b-419c-b2c2-0f3cf77a0f36@amd.com \
--to=alex.hung@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=sunpeng.li@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox