From: Varun Gupta <varun.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: arvind.yadav@intel.com, himal.prasad.ghimiray@intel.com,
nishit.sharma@intel.com
Subject: [PATCH i-g-t v3 0/4] tests/intel/xe_madvise: Add atomic madvise subtests
Date: Mon, 11 May 2026 19:27:33 +0530 [thread overview]
Message-ID: <20260511135752.119868-1-varun.gupta@intel.com> (raw)
Add three subtests to validate DRM_XE_MEM_RANGE_ATTR_ATOMIC madvise on
fault-mode SVM VMAs:
atomic-device — GPU MI_ATOMIC_INC succeeds via fault handler
atomic-global — CPU atomic increments + GPU MI_ATOMIC_INC with
fault-driven SMEM-to-VRAM migration
atomic-cpu — GPU MI_ATOMIC_INC rejected (-EACCES), engine reset
Patch 1 generalizes the test metadata and groups existing purgeable
subtests so the atomic subtests can coexist without being gated on
purgeable support.
v2:
- Add UNMAP of CPU_ADDR_MIRROR binding before xe_vm_destroy in all
three atomic tests (Nishit)
- Add pagefault count print before/after exec in atomic-device and
atomic-global (Nishit)
- Add comment explaining single-engine rationale in atomic-cpu (Nishit)
v3:
- Print pagefault count only when count changed (Nishit)
Varun Gupta (4):
tests/intel/xe_madvise: Generalize metadata and group purgeable
subtests
tests/intel/xe_madvise: Add atomic-device subtest
tests/intel/xe_madvise: Add atomic-global subtest
tests/intel/xe_madvise: Add atomic-cpu subtest
tests/intel/xe_madvise.c | 381 ++++++++++++++++++++++++++++++++++-----
1 file changed, 338 insertions(+), 43 deletions(-)
--
2.43.0
next reply other threads:[~2026-05-11 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 13:57 Varun Gupta [this message]
2026-05-11 13:57 ` [PATCH i-g-t v3 1/4] tests/intel/xe_madvise: Generalize metadata and group purgeable subtests Varun Gupta
2026-05-11 13:57 ` [PATCH i-g-t v3 2/4] tests/intel/xe_madvise: Add atomic-device subtest Varun Gupta
2026-05-11 13:57 ` [PATCH i-g-t v3 3/4] tests/intel/xe_madvise: Add atomic-global subtest Varun Gupta
2026-05-11 13:57 ` [PATCH i-g-t v3 4/4] tests/intel/xe_madvise: Add atomic-cpu subtest Varun Gupta
2026-05-12 3:50 ` ✗ Fi.CI.BUILD: failure for tests/intel/xe_madvise: Add atomic madvise subtests 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=20260511135752.119868-1-varun.gupta@intel.com \
--to=varun.gupta@intel.com \
--cc=arvind.yadav@intel.com \
--cc=himal.prasad.ghimiray@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=nishit.sharma@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