From: Gustavo Sousa <gustavo.sousa@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Gustavo Sousa <gustavo.sousa@intel.com>
Subject: [PATCH v4 0/2] Tile and GT counting improvements
Date: Mon, 18 Aug 2025 15:15:45 -0300 [thread overview]
Message-ID: <20250818-gt_count-improvements-v4-0-ee12870c6f57@intel.com> (raw)
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@intel.com>
---
Changes in v4:
- Fix one issue found in CI (e.g. [1]), where we were trying to read
from the MTCFG in scenarios where mmio_multi_tile_setup() would not.
[1] https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-152026v3/bat-bmg-2/igt@sriov_basic@enable-vfs-autoprobe-on.html
- Link to v3: https://lore.kernel.org/r/20250818-gt_count-improvements-v3-0-32f6901e42e6@intel.com
Changes in v3:
- Rebased to get fresh CI results before applying.
- Link to v2: https://lore.kernel.org/r/20250728-gt_count-improvements-v2-0-78841ce8a81c@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 | 50 +++++++++++++++++++++++++++++++++++++--
3 files changed, 55 insertions(+), 35 deletions(-)
---
base-commit: edead24a80ae92312f75626eb92f2771ec5a7697
change-id: 20250723-gt_count-improvements-d7be01330d73
Best regards,
--
Gustavo Sousa <gustavo.sousa@intel.com>
next reply other threads:[~2025-08-18 18:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-18 18:15 Gustavo Sousa [this message]
2025-08-18 18:15 ` [PATCH v4 1/2] drm/xe: Probe for tile count during device info initialization Gustavo Sousa
2025-08-18 18:15 ` [PATCH v4 2/2] drm/xe: Use for_each_gt to define gt_count Gustavo Sousa
2025-08-18 21:20 ` ✓ CI.KUnit: success for Tile and GT counting improvements (rev4) Patchwork
2025-08-18 22:22 ` ✓ Xe.CI.BAT: " Patchwork
2025-08-19 16:52 ` ✗ Xe.CI.Full: failure " Patchwork
2025-08-20 21:55 ` Gustavo Sousa
2025-08-20 22:57 ` [PATCH v4 0/2] Tile and GT counting improvements Gustavo Sousa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250818-gt_count-improvements-v4-0-ee12870c6f57@intel.com \
--to=gustavo.sousa@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=jonathan.cavitt@intel.com \
--cc=rodrigo.vivi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).