All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] Control compute-preempt bo allocation
@ 2025-06-04 11:50 Zbigniew Kempczyński
  2025-06-04 11:50 ` [PATCH i-g-t 1/2] lib/intel_compute: add alloc preference for objects used in compute Zbigniew Kempczyński
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Zbigniew Kempczyński @ 2025-06-04 11:50 UTC (permalink / raw)
  To: igt-dev; +Cc: Zbigniew Kempczyński, Francois Dugast

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@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


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

end of thread, other threads:[~2025-06-05 12:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04 11:50 [PATCH i-g-t 0/2] Control compute-preempt bo allocation Zbigniew Kempczyński
2025-06-04 11:50 ` [PATCH i-g-t 1/2] lib/intel_compute: add alloc preference for objects used in compute Zbigniew Kempczyński
2025-06-05 12:24   ` Francois Dugast
2025-06-04 11:50 ` [PATCH i-g-t 2/2] tests/xe_compute_preempt: add compute preempt on vram bos Zbigniew Kempczyński
2025-06-05 12:33   ` Francois Dugast
2025-06-04 13:01 ` ✓ i915.CI.BAT: success for Control compute-preempt bo allocation Patchwork
2025-06-04 13:08 ` ✓ Xe.CI.BAT: " Patchwork
2025-06-04 15:12 ` ✓ i915.CI.Full: " Patchwork
2025-06-05  7:00 ` ✓ Xe.CI.Full: " Patchwork
2025-06-05  8:38   ` Zbigniew Kempczyński

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.