From: <vitaly.prosyak@amd.com>
To: <igt-dev@lists.freedesktop.org>
Cc: "Vitaly Prosyak" <vitaly.prosyak@amd.com>,
"Kamil Konieczny" <kamil.konieczny@linux.intel.com>,
"Jani Nikula" <jani.nikula@linux.intel.com>,
"Jesse Zhang" <jesse.zhang@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"Alex Deucher" <alexander.deucher@amd.com>,
"Krzysztof Karas" <krzysztof.karas@intel.com>
Subject: [PATCH 7/7] tests/amdgpu: Integrate platform filtering into amd_basic
Date: Fri, 3 Jul 2026 10:08:27 -0400 [thread overview]
Message-ID: <20260703141115.69015-7-vitaly.prosyak@amd.com> (raw)
In-Reply-To: <20260703141115.69015-1-vitaly.prosyak@amd.com>
From: Vitaly Prosyak <vitaly.prosyak@amd.com>
Add platform filtering initialization to amd_basic test to enable
automatic subtest filtering on the navi48 platform.
Platform filtering is initialized once in igt_fixture after gpu_info
is queried. The IGT framework then automatically checks each subtest
before execution - no manual calls needed in subtests.
This demonstrates the automatic filtering functionality for validation.
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Jesse Zhang <jesse.zhang@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Krzysztof Karas <krzysztof.karas@intel.com>
Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Change-Id: Ic80cdc86111976fe6da6513c50e76006c861489a
---
tests/amdgpu/amd_basic.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/amdgpu/amd_basic.c b/tests/amdgpu/amd_basic.c
index 3ad023472..ef83a53d6 100644
--- a/tests/amdgpu/amd_basic.c
+++ b/tests/amdgpu/amd_basic.c
@@ -19,6 +19,7 @@
#include "lib/amdgpu/compute_utils/amd_dispatch.h"
#include "lib/amdgpu/amdgpu_asic_addr.h"
#include "lib/amdgpu/amd_utils.h"
+#include "lib/amdgpu/amd_platform.h"
#define BUFFER_SIZE (8 * 1024)
@@ -883,6 +884,9 @@ int igt_main()
igt_assert_eq(r, 0);
asic_rings_readness(device, 1, arr_cap);
asic_userq_readiness(device, userq_arr_cap);
+
+ /* Initialize platform filtering for automatic subtest filtering */
+ amd_platform_filter_init(&gpu_info);
}
igt_describe("Check-alloc-free-VRAM-visible-non-visible-GART-write-combined-cached");
igt_subtest("memory-alloc")
--
2.54.0
next prev parent reply other threads:[~2026-07-03 14:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-03 14:08 [PATCH 1/7] lib: Add vendor-agnostic platform filtering interface vitaly.prosyak
2026-07-03 14:08 ` [PATCH 2/7] lib: Implement generic platform filtering framework vitaly.prosyak
2026-07-03 14:08 ` [PATCH 3/7] lib/amdgpu: Add AMD platform filtering backend vitaly.prosyak
2026-07-03 14:08 ` [PATCH 4/7] lib: Add platform filter initialization check for automatic filtering vitaly.prosyak
2026-07-03 14:08 ` [PATCH 5/7] lib/igt_core: Enable automatic platform filtering in subtest execution vitaly.prosyak
2026-07-03 14:08 ` [PATCH 6/7] docs: Add comprehensive platform filtering documentation vitaly.prosyak
2026-07-03 14:08 ` vitaly.prosyak [this message]
2026-07-03 15:42 ` ✓ Xe.CI.BAT: success for series starting with [1/7] lib: Add vendor-agnostic platform filtering interface Patchwork
2026-07-03 15:59 ` ✓ i915.CI.BAT: " Patchwork
2026-07-04 2:47 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-04 7:04 ` ✗ i915.CI.Full: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-06-30 3:23 [PATCH 1/7] " vitaly.prosyak
2026-06-30 3:23 ` [PATCH 7/7] tests/amdgpu: Integrate platform filtering into amd_basic vitaly.prosyak
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=20260703141115.69015-7-vitaly.prosyak@amd.com \
--to=vitaly.prosyak@amd.com \
--cc=alexander.deucher@amd.com \
--cc=christian.koenig@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=jesse.zhang@amd.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=krzysztof.karas@intel.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