[PATCH v2 0/2] Tile and GT counting improvements
Gustavo Sousa
gustavo.sousa at intel.com
Mon Jul 28 18:29:04 UTC 2025
This series improves the way we define values for tile_count and
gt_count. In the first patch, we move the logic that probes for
available tiles to a more appropriate location; in the second patch, we
future-proof the way gt_count is calculated.
Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
---
Changes in v2:
- Reworded last paragraph of commit message for the first patch.
- Fixed KUnit failure.
- Link to v1: https://lore.kernel.org/r/20250723-gt_count-improvements-v1-0-3016134db9ea@intel.com
---
Gustavo Sousa (2):
drm/xe: Probe for tile count during device info initialization
drm/xe: Use for_each_gt to define gt_count
drivers/gpu/drm/xe/tests/xe_pci.c | 7 +++++++
drivers/gpu/drm/xe/xe_mmio.c | 33 ------------------------------
drivers/gpu/drm/xe/xe_pci.c | 43 +++++++++++++++++++++++++++++++++++++--
3 files changed, 48 insertions(+), 35 deletions(-)
---
base-commit: 51feeecc1f4cd7066d2ba2cd35f5c1ff39af6a09
change-id: 20250723-gt_count-improvements-d7be01330d73
Best regards,
--
Gustavo Sousa <gustavo.sousa at intel.com>
More information about the Intel-xe
mailing list