[PATCH i-g-t 0/2] Control compute-preempt bo allocation
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Wed Jun 4 11:50:25 UTC 2025
Compute-preempt on BMG reveals some bugs related to oversized
bo allocation. This happens because memory limits for objects
allocated in vram are taken from system memory - what is wrong
obviously. However it should work as well even if this exceeds
vram size and causes eviction.
First patch in the series makes all platform starts to use
system memory allocation for compute objects. Second patch
extends testing on discrete to use vram objects.
Cc: Francois Dugast <francois.dugast at intel.com>
Zbigniew Kempczyński (2):
lib/intel_compute: add alloc preference for objects used in compute
tests/xe_compute_preempt: add compute preempt on vram bos
lib/intel_compute.c | 91 ++++++++++++++++++++++----------
lib/intel_compute.h | 15 ++++--
tests/intel/gem_compute.c | 3 +-
tests/intel/xe_compute.c | 5 +-
tests/intel/xe_compute_preempt.c | 88 ++++++++++++++++++++++++++----
5 files changed, 157 insertions(+), 45 deletions(-)
--
2.43.0
More information about the igt-dev
mailing list