[Intel-xe] [PATCH 0/3] Reduce usage of xe_tile in xe_bo.c
Brian Welty
brian.welty at intel.com
Wed Oct 25 18:00:05 UTC 2023
mem_type_to_tile() is being used in xe_bo.c to access the tile's underlying
tile.mem.vram. Let's clean this up to access instead thru TTM VRAM manager
to get pointer to the xe_mem_region. More comments in the patches.
Cc: Matthew Brost <matthew.brost at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Brian Welty (3):
drm/xe: Replace xe_ttm_vram_mgr.tile with xe_mem_region
drm/xe: Remove unused xe_bo_to_tile
drm/xe: Replace usage of mem_type_to_tile
drivers/gpu/drm/xe/xe_bo.c | 72 +++++++++++-----------
drivers/gpu/drm/xe/xe_bo.h | 2 -
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 7 +--
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h | 6 +-
4 files changed, 42 insertions(+), 45 deletions(-)
--
2.38.0
More information about the Intel-xe
mailing list