public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Arvind Yadav <arvind.yadav@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: matthew.brost@intel.com, himal.prasad.ghimiray@intel.com,
	thomas.hellstrom@linux.intel.com, nishit.sharma@intel.com,
	pravalika.gurram@intel.com
Subject: [i-g-t 0/3] tests/xe: Add IGT coverage for SVM madvise autoreset on unmap.
Date: Mon,  6 Apr 2026 15:24:05 +0530	[thread overview]
Message-ID: <20260406095410.1274177-1-arvind.yadav@intel.com> (raw)

Cover full and partial unmap cases for both CPU-only and GPU-touched
VMAs, and verify that only unmapped regions are reset to default
attributes.

Test cases:

  1. multi-region-partial-unmap-no-gpu
     Set PAT=UC on 10 x 1MB VMAs, unmap 3 non-sequential regions
     without GPU access and verify remaining mapped regions retain PAT=UC.

  2. single-vma-full-unmap-no-gpu
     Set PAT=UC on a 1MB VMA, fully unmap it without GPU access, and
     verify the attribute resets to default.

  3. multi-region-partial-unmap
     Run GPU workload on all regions, then unmap 3 non-sequential
     regions and verify remaining mapped regions retain PAT=UC.

Arvind Yadav (3):
  tests/intel/xe_madvise: Add multi-region-partial-unmap-no-gpu subtest
  tests/intel/xe_madvise: Add single-vma-full-unmap-no-gpu subtest
  tests/intel/xe_madvise: Add multi-region-partial-unmap subtest

 tests/intel/xe_madvise.c | 412 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 412 insertions(+)

-- 
2.43.0


             reply	other threads:[~2026-04-06  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-06  9:54 Arvind Yadav [this message]
2026-04-06  9:54 ` [i-g-t 1/3] tests/intel/xe_madvise: Add multi-region-partial-unmap-no-gpu subtest Arvind Yadav
2026-04-06  9:54 ` [i-g-t 2/3] tests/intel/xe_madvise: Add single-vma-full-unmap-no-gpu subtest Arvind Yadav
2026-04-06  9:54 ` [i-g-t 3/3] tests/intel/xe_madvise: Add multi-region-partial-unmap subtest Arvind Yadav
2026-04-06 10:04 ` ✗ Fi.CI.BUILD: failure for tests/xe: Add IGT coverage for SVM madvise autoreset on unmap 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=20260406095410.1274177-1-arvind.yadav@intel.com \
    --to=arvind.yadav@intel.com \
    --cc=himal.prasad.ghimiray@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=matthew.brost@intel.com \
    --cc=nishit.sharma@intel.com \
    --cc=pravalika.gurram@intel.com \
    --cc=thomas.hellstrom@linux.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