public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v6 i-g-t 0/2] tests/intel/xe_vm: Add support for overcommit tests
@ 2026-03-20 10:05 Sobin Thomas
  2026-03-20 10:05 ` [PATCH v6 i-g-t 1/2] drm-uapi/xe: sync with kernel header Sobin Thomas
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Sobin Thomas @ 2026-03-20 10:05 UTC (permalink / raw)
  To: igt-dev, thomas.hellstrom; +Cc: nishit.sharma, Sobin Thomas

Current tests focus on VM creation with basic mode selection and do not
support overcommit scenarios.

This change adds tests to verify overcommit behavior across different VM
modes.

Non-fault mode tests:
 - vram-lr-defer: DEFER_BACKING rejects overcommit at bind time
 - vram-lr-external-nodefer: Long-running mode with external BO and
                             no defer backing
 - vram-no-lr: Non-LR mode

Fault mode tests:
 - vram-lr-fault: Fault handling allows graceful overcommit via page
   faults
 - vram-lr-fault-no-overcommit: Verifies NO_VM_OVERCOMMIT blocks same-VM
   BO eviction during VM_BIND while still allowing eviction during
   pagefault OOM

These tests validate that VMs handle memory pressure appropriately based
on their configuration—rejecting at bind, failing at exec, or handling
it gracefully via page faults.

Currently this is tested for overcommit behaviour for VRAM only.

Sobin Thomas (2):
  drm-uapi/xe: sync with kernel header
  tests/intel/xe_vm: Add support for overcommit tests

 include/drm-uapi/xe_drm.h |  22 +--
 tests/intel/xe_vm.c       | 395 +++++++++++++++++++++++++++++++++++++-
 2 files changed, 405 insertions(+), 12 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH v7 i-g-t 0/3] tests/intel/xe_vm: Add support for overcommit tests
@ 2026-03-25  6:00 Sobin Thomas
  2026-03-25  6:00 ` [PATCH v7 i-g-t 3/3] " Sobin Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Sobin Thomas @ 2026-03-25  6:00 UTC (permalink / raw)
  To: igt-dev; +Cc: Sobin Thomas

Current tests focus on VM creation and basic mode selection, but do not
cover overcommit scenarios.

This change adds tests to verify overcommit behavior across different VM
modes.

Non-fault mode tests:
 - vram-lr-defer: DEFER_BACKING rejects overcommit at bind time
 - vram-lr-external-nodefer: Long-running mode with an external BO and
                             no deferred backing
 - vram-no-lr: Non-long-running mode

Fault mode tests:
 - vram-lr-fault: Fault handling allows graceful overcommit via page faults
 - vram-lr-fault-no-overcommit: Verifies NO_VM_OVERCOMMIT blocks same-VM
   BO eviction during VM_BIND, while still allowing eviction during
   page-fault OOM handling

These tests validate that VMs respond correctly to memory pressure based
on their configuration—by rejecting at bind time, failing during execution,
or handling overcommit gracefully via page faults.

Currently, overcommit behavior is tested for VRAM only.

--------------------------------------
Link (historical context):
https://patchwork.freedesktop.org/series/161557/


Sobin Thomas (3):
  drm-uapi/xe: sync with kernel header
  lib/xe: Add failable variant of xe_vm_bind_lr_sync
  tests/intel/xe_vm: Add support for overcommit tests

 include/drm-uapi/xe_drm.h |  22 +-
 lib/xe/xe_ioctl.c         |  36 ++++
 lib/xe/xe_ioctl.h         |   2 +
 tests/intel/xe_vm.c       | 417 +++++++++++++++++++++++++++++++++++++-
 4 files changed, 465 insertions(+), 12 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH v7 i-g-t 0/3] tests/intel/xe_vm: Add support for overcommit tests
@ 2026-03-25  6:03 Sobin Thomas
  2026-03-25  6:03 ` [PATCH v7 i-g-t 3/3] " Sobin Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Sobin Thomas @ 2026-03-25  6:03 UTC (permalink / raw)
  To: igt-dev; +Cc: thomas.hellstrom, nishit.sharma, Sobin Thomas

Current tests focus on VM creation and basic mode selection, but do not
cover overcommit scenarios.

This change adds tests to verify overcommit behavior across different VM
modes.

Non-fault mode tests:
 - vram-lr-defer: DEFER_BACKING rejects overcommit at bind time
 - vram-lr-external-nodefer: Long-running mode with an external BO and
                             no deferred backing
 - vram-no-lr: Non-long-running mode

Fault mode tests:
 - vram-lr-fault: Fault handling allows graceful overcommit via page faults
 - vram-lr-fault-no-overcommit: Verifies NO_VM_OVERCOMMIT blocks same-VM
   BO eviction during VM_BIND, while still allowing eviction during
   page-fault OOM handling

These tests validate that VMs respond correctly to memory pressure based
on their configuration—by rejecting at bind time, failing during execution,
or handling overcommit gracefully via page faults.

Currently, overcommit behavior is tested for VRAM only.

--------------------------------------
Link (historical context):
https://patchwork.freedesktop.org/series/161557/


Sobin Thomas (3):
  drm-uapi/xe: sync with kernel header
  lib/xe: Add failable variant of xe_vm_bind_lr_sync
  tests/intel/xe_vm: Add support for overcommit tests

 include/drm-uapi/xe_drm.h |  22 +-
 lib/xe/xe_ioctl.c         |  36 ++++
 lib/xe/xe_ioctl.h         |   2 +
 tests/intel/xe_vm.c       | 417 +++++++++++++++++++++++++++++++++++++-
 4 files changed, 465 insertions(+), 12 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-03-25  6:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 10:05 [PATCH v6 i-g-t 0/2] tests/intel/xe_vm: Add support for overcommit tests Sobin Thomas
2026-03-20 10:05 ` [PATCH v6 i-g-t 1/2] drm-uapi/xe: sync with kernel header Sobin Thomas
2026-03-20 10:05 ` [PATCH i-g-t 2/2] tests/intel/xe_vm: Add support for overcommit tests Sobin Thomas
2026-03-20 12:58 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-03-20 13:07 ` ✓ i915.CI.BAT: " Patchwork
2026-03-21  3:42 ` ✓ i915.CI.Full: " Patchwork
2026-03-21 11:14 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-25  5:55 ` [PATCH v7 i-g-t 0/3] " Sobin Thomas
2026-03-25  5:55   ` [PATCH v7 i-g-t 1/3] drm-uapi/xe: sync with kernel header Sobin Thomas
2026-03-25  5:55   ` [PATCH v7 i-g-t 2/3] lib/xe: Add failable variant of xe_vm_bind_lr_sync Sobin Thomas
2026-03-25  5:55   ` [PATCH v7 i-g-t 3/3] tests/intel/xe_vm: Add support for overcommit tests Sobin Thomas
  -- strict thread matches above, loose matches on Subject: below --
2026-03-25  6:00 [PATCH v7 i-g-t 0/3] " Sobin Thomas
2026-03-25  6:00 ` [PATCH v7 i-g-t 3/3] " Sobin Thomas
2026-03-25  6:03 [PATCH v7 i-g-t 0/3] " Sobin Thomas
2026-03-25  6:03 ` [PATCH v7 i-g-t 3/3] " Sobin Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox