]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe: Make xe_mmio_tile_vram_size() static
authorBrian Welty <brian.welty@intel.com>
Tue, 14 Nov 2023 00:49:43 +0000 (16:49 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:44:33 +0000 (11:44 -0500)
commitb646ce9ce99f74d3dee8fd56303b9255d3c278ec
tree3e2a3f013b08a50e81de4469213a3c82cfa1afc8
parentbe13336e07b5cc26c8b971a50ff6dc60d7050417
drm/xe: Make xe_mmio_tile_vram_size() static

During xe_mmio_probe_vram(), we already store the values returned from
xe_mmio_tile_vram_size() into the xe_tile structures.
There is no need to call xe_mmio_tile_vram_size() again later during
setup of the STOLEN region. Just use the values stored in the root tile.

Signed-off-by: Brian Welty <brian.welty@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_mmio.c
drivers/gpu/drm/xe/xe_mmio.h
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c