]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe: Drop extra_gts[] declarations and XE_GT_TYPE_REMOTE
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 1 Jun 2023 21:52:30 +0000 (14:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:15 +0000 (18:34 -0500)
commit1e6c20be6c83817cf68637eb334dafac3a4b2512
tree7760dbcc9dc665ec5a485816a9d7b78af6bd3a21
parent68ccb9b2f71b5834b703b982a2a29d5bb3fabbe9
drm/xe: Drop extra_gts[] declarations and XE_GT_TYPE_REMOTE

Now that tiles and GTs are handled separately, extra_gts[] doesn't
really provide any useful information that we can't just infer directly.
The primary GT of the root tile and of the remote tiles behave the same
way and don't need independent handling.

When we re-add support for media GTs in a future patch, the presence of
media can be determined from MEDIA_VER() (i.e., >= 13) and media's GSI
offset handling is expected to remain constant for all forseeable future
platforms, so it won't need to be provided in a definition structure
either.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20230601215244.678611-18-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_types.h
drivers/gpu/drm/xe/xe_pci.c