[PATCH 0/2] drm/xe: Add NEEDS_2M BO flag

Michal Wajdeczko michal.wajdeczko at intel.com
Mon Jul 15 18:05:36 UTC 2024


In addition of NEEDS_64K BO flag, add similar one to force 2 MiB
alignment of the buffer objects. Explicitly use this flag during
VF LMEM provisioning as LMTT uses 2 MiB pages and one day we may
drop requirement of allocating pinned objects as contiguous.

Michal Wajdeczko (2):
  drm/xe: Normalize NEEDS_64K BO flag
  drm/xe: Add NEEDS_2M BO flag

 drivers/gpu/drm/xe/xe_bo.c                 | 11 ++++++-----
 drivers/gpu/drm/xe/xe_bo.h                 |  5 +++--
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c |  1 +
 drivers/gpu/drm/xe/xe_lmtt.c               |  2 +-
 4 files changed, 11 insertions(+), 8 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list