tools/intel_gpu_frequency: Add multi-GT support and Xe driver compatibility
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 3 repliesIn review
- v54 patches 1 replySuperseded
- v43 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 1 reply | Superseded | |
| v2 | 3 patches | 4 replies | Superseded |
Changes in v6 from the cover letter
- Remove the patch added for regular user read as it already updated
- Rebase code with latest changes in intel_gpu_frequency
- Remove bool argument in functions and re-design approach
- Revert the change made in drmtest in v4
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tools/intel_gpu_frequency: Add support for get, set in order & vice-versatools/ | +41 | 1 reply | |
| 2/3 | tools/intel_gpu_frequency: Add multi-GT supportman/ tools/ | +238 | 1 reply | |
| 3/3 | tools/intel_gpu_frequency: Add Xe driver supporttools/ | +66 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [PATCH i-g-t v6 0/3] tools/intel_gpu_frequency: Add multi-GT support and Xe driver compatibility
This patch enhances intel_gpu_frequency to support Intel GPUs with multiple Graphics Technology (GT) units and adds compatibility with both i915 and Xe drivers. This also includes the changes to use get, set in order and vice-versa which was resulting in assertion errors.
Key improvements:
- Add runtime GT detection using igt_sysfs_get_num_gt() and xe_number_gt()
- Auto-detect driver type (i915 vs Xe) using is_xe_device()
- New --gt/-t option to specify target GT (defaults to GT0)
- New --list/-l option to display available GTs
- Driver-agnostic frequency management with unified interface
- Add support for get, set inorder and vice-versa.
Driver-specific implementations:
- Frequency name mapping for Xe (RP1→rpe, RP0→rp0, RPn→rpn for Xe)
Usage examples:
intel_gpu_frequency --get --gt 1 # Get GT1 frequencies
intel_gpu_frequency --set 400 --gt 0 # Set GT0 frequency
intel_gpu_frequency --list # List available GTs
The tool now auto-detects i915 / Xe drivers and uses appropriate interfaces.
---
Changes in v6:
- Remove the patch added for regular user read as it already updated
- Rebase code with latest changes in intel_gpu_frequency
- Remove bool argument in functions and re-design approach
- Revert the change made in drmtest in v4
Changes in v5:
- Add patch for regular user read
Changes in v4:
- Rebase the patch to fix Ci.build issue in v3
Changes in v3:
- Use --list as arg instead of --list-gts
- Change printing of frequencies to tabular
and with additional informations
Changes in v2:
- Remove output from commit message
- Add support for simultaneous read and write
---
S Sebinraj (3):
tools/intel_gpu_frequency: Add support for get, set in order &
vice-versa
tools/intel_gpu_frequency: Add multi-GT support tools/intel_gpu_frequency: Add Xe driver support
man/intel_gpu_frequency.rst | 34 +++- tools/intel_gpu_frequency.c | 360 +++++++++++++++++++++++++++++------- 2 files changed, 318 insertions(+), 76 deletions(-)
Signature · 1 line
2.43.0