From: Jonathan Cavitt <jonathan.cavitt@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: saurabhg.gupta@intel.com, alex.zuo@intel.com,
jonathan.cavitt@intel.com, joonas.lahtinen@linux.intel.com,
matthew.brost@intel.com, jianxun.zhang@intel.com,
shuicheng.lin@intel.com, dri-devel@lists.freedesktop.org,
stuart.summers@intel.com, ivan.briano@intel.com
Subject: [PATCH v3 0/4] tests/intel/xe_vm: Add drm_xe_vm_get_property tests
Date: Thu, 3 Apr 2025 17:48:52 +0000 [thread overview]
Message-ID: <20250403174856.75458-1-jonathan.cavitt@intel.com> (raw)
Add tests that exercise the new drm_xe_vm_get_property uapi,
specifically for ioctl input validation and for determining that
pagefaults are correctly tracked and returned by the reporter.
drm_xe_vm_get_property ioctl to be added by
https://patchwork.freedesktop.org/series/145529/
v2:
- Remove engine class and instance (Ivan)
v3:
- Add declares for fault type, access type, and fault level (Matt Brost,
Ivan)
- Add reference to KMD change (Kamil)
References:
Signed-off-by: Jonathan Cavitt <joanthan.cavitt@intel.com>
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Suggested-by: Matthew Brost <matthew.brost@intel.com>
Suggested-by: Zhang Jianxun <jianxun.zhang@intel.com>
Suggested-by: Stuart Summers <stuart.summers@intel.com>
CC: Shuicheng Lin <shuicheng.lin@intel.com>
Cc: Ivan Briano <ivan.briano@intel.com>
Jonathan Cavitt (4):
drm-uapi/xe: Declare xe_vm_get_property_ioctl
lib/xe/xe_ioctl: Add xe_vm_get_property helper function
tests/intel/xe_vm: Add DRM_IOCTL_XE_VM_GET_PROPERTY validation tests
tests/intel/xe_vm: Test DRM_IOCTL_XE_VM_GET_PROPERTY fault reporting
include/drm-uapi/xe_drm.h | 85 ++++++++++++++
lib/xe/xe_ioctl.c | 5 +
lib/xe/xe_ioctl.h | 1 +
tests/intel/xe_vm.c | 237 ++++++++++++++++++++++++++++++++++++++
4 files changed, 328 insertions(+)
--
2.43.0
next reply other threads:[~2025-04-03 17:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-03 17:48 Jonathan Cavitt [this message]
2025-04-03 17:48 ` [PATCH v3 1/4] drm-uapi/xe: Declare xe_vm_get_property_ioctl Jonathan Cavitt
2025-04-03 17:48 ` [PATCH v3 2/4] lib/xe/xe_ioctl: Add xe_vm_get_property helper function Jonathan Cavitt
2025-04-03 17:48 ` [PATCH v3 3/4] tests/intel/xe_vm: Add DRM_IOCTL_XE_VM_GET_PROPERTY validation tests Jonathan Cavitt
2025-04-03 17:48 ` [PATCH v3 4/4] tests/intel/xe_vm: Test DRM_IOCTL_XE_VM_GET_PROPERTY fault reporting Jonathan Cavitt
2025-04-03 20:12 ` ✓ i915.CI.BAT: success for tests/intel/xe_vm: Add drm_xe_vm_get_property tests (rev3) Patchwork
2025-04-03 21:03 ` ✓ Xe.CI.BAT: " Patchwork
2025-04-03 23:29 ` ✗ i915.CI.Full: failure " Patchwork
2025-04-04 3:25 ` ✗ 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=20250403174856.75458-1-jonathan.cavitt@intel.com \
--to=jonathan.cavitt@intel.com \
--cc=alex.zuo@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=igt-dev@lists.freedesktop.org \
--cc=ivan.briano@intel.com \
--cc=jianxun.zhang@intel.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=matthew.brost@intel.com \
--cc=saurabhg.gupta@intel.com \
--cc=shuicheng.lin@intel.com \
--cc=stuart.summers@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