Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Refactor BO flags, batch 2
@ 2024-04-02 21:54 Lucas De Marchi
  2024-04-02 21:54 ` [PATCH 1/2] drm/xe/tile: Set default memory placement for BOs Lucas De Marchi
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Lucas De Marchi @ 2024-04-02 21:54 UTC (permalink / raw)
  To: intel-xe
  Cc: Thomas Hellström, Matthew Brost, Matt Roper, Matthew Auld,
	Lucas De Marchi

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


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

end of thread, other threads:[~2024-04-03 16:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02 21:54 [PATCH 0/2] Refactor BO flags, batch 2 Lucas De Marchi
2024-04-02 21:54 ` [PATCH 1/2] drm/xe/tile: Set default memory placement for BOs Lucas De Marchi
2024-04-03 15:47   ` Nirmoy Das
2024-04-03 16:15     ` Lucas De Marchi
2024-04-02 21:54 ` [PATCH 2/2] drm/xe: Drop XE_BO_FLAG_VRAM_IF_DGFX() Lucas De Marchi
2024-04-02 22:00 ` ✓ CI.Patch_applied: success for Refactor BO flags, batch 2 Patchwork
2024-04-02 22:00 ` ✗ CI.checkpatch: warning " Patchwork
2024-04-02 22:01 ` ✓ CI.KUnit: success " Patchwork
2024-04-02 22:12 ` ✓ CI.Build: " Patchwork
2024-04-02 22:15 ` ✓ CI.Hooks: " Patchwork
2024-04-02 22:17 ` ✓ CI.checksparse: " Patchwork
2024-04-02 22:52 ` ✓ CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox