Skip to content

Reduce usage of xe_tile in xe_bo.c

Brian Welty intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Replace xe_ttm_vram_mgr.tile with xe_mem_regiondrivers/gpu/drm/xe/xe_ttm_vram_mgr.c drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h+6 -71 reply
2/3drm/xe: Remove unused xe_bo_to_tiledrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo.h+0 -151 reply
3/3drm/xe: Replace usage of mem_type_to_tiledrivers/gpu/drm/xe/xe_bo.c+38 -251 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMatthew Brost
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-xe] [PATCH 0/3] Reduce usage of xe_tile in xe_bo.c

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 <[email protected]>
Cc Rodrigo Vivi <[email protected]>

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(-)
Signature · 1 line
2.38.0