Files
linux/drivers/gpu/drm/xe/tests
Marcin Bernatowicz 12267f831f drm/xe/tests: Make cross-device dma-buf BOs CPU-visible on small BAR
Small-BAR systems (e.g., SR-IOV VFs in VMs) expose only a subset of
VRAM via PCI/BAR. Exporting a BO outside that window fails, and the
selftests also do CPU fill/verify.

Set XE_BO_FLAG_NEEDS_CPU_ACCESS for cross-device variants to force
CPU-mappable placement and keep tests reliable. Large-BAR/P2P setups
are unaffected.

Suggested-by: Matthew Auld <[email protected]>
Signed-off-by: Marcin Bernatowicz <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michał Winiarski <[email protected]>
2025-08-28 13:21:20 +02:00
..
2025-06-27 14:52:31 -07:00
2025-06-27 14:52:31 -07:00
2025-06-27 14:52:31 -07:00
2024-07-12 10:34:49 +02:00