drm/xe: Replace xe_ttm_vram_mgr.tile with xe_mem_region
authorBrian Welty <brian.welty@intel.com>
Mon, 25 Sep 2023 21:02:32 +0000 (14:02 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:43:32 +0000 (11:43 -0500)
commit4e002016a1e5b5d0b29191a82d4f561f175f3d33
tree20f30e07271dcd1eff3649ceb9e61279afebf8cb
parent4446fcf220ceab4f6d0cc4ae3b1338a0ceeeb72e
drm/xe: Replace xe_ttm_vram_mgr.tile with xe_mem_region

Replace the xe_ttm_vram_mgr.tile pointer with a xe_mem_region pointer
instead. The former is currently unused.
TTM VRAM regions are exposing device vram and is better to store a pointer
directly to the xe_mem_region instead of the tile. This allows to cleanup
unnecessary usage of xe_tile from xe_bo.c in later patch.

Signed-off-by: Brian Welty <brian.welty@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h