[PATCH 0/2] Refactor BO flags, batch 2
Lucas De Marchi
lucas.demarchi at intel.com
Tue Apr 2 21:54:53 UTC 2024
Follow up to https://lore.kernel.org/intel-xe/20240314052619.2628396-1-lucas.demarchi@intel.com/
This is mainly removing XE_BO_FLAG_VRAM_IF_DGFX, moving the logic to the
initialization. Build-tested only and up to discussion if it is indeed
less error prone than the current approach.
Lucas De Marchi (2):
drm/xe/tile: Set default memory placement for BOs
drm/xe: Drop XE_BO_FLAG_VRAM_IF_DGFX()
drivers/gpu/drm/xe/display/intel_fbdev_fb.c | 1 -
drivers/gpu/drm/xe/display/xe_dsb_buffer.c | 1 -
drivers/gpu/drm/xe/tests/xe_bo.c | 12 ++++--------
drivers/gpu/drm/xe/tests/xe_migrate.c | 3 ---
drivers/gpu/drm/xe/xe_bo.c | 12 ++++++++++--
drivers/gpu/drm/xe/xe_bo.h | 11 +++++------
drivers/gpu/drm/xe/xe_device_types.h | 9 +++++++++
drivers/gpu/drm/xe/xe_ggtt.c | 2 --
drivers/gpu/drm/xe/xe_guc_pc.c | 1 -
drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
drivers/gpu/drm/xe/xe_lmtt.c | 1 -
drivers/gpu/drm/xe/xe_lrc.c | 1 -
drivers/gpu/drm/xe/xe_migrate.c | 1 -
drivers/gpu/drm/xe/xe_pt.c | 1 -
drivers/gpu/drm/xe/xe_sa.c | 1 -
drivers/gpu/drm/xe/xe_tile.c | 6 ++++++
16 files changed, 34 insertions(+), 30 deletions(-)
--
2.43.0
More information about the Intel-xe
mailing list