Skip to content

Commit 84e2f91

Browse files
committed
Merge tag 'drm-xe-next-fixes-2025-05-28' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next
Driver Changes: - Two documentation fixes (Rodrigo) Signed-off-by: Dave Airlie <[email protected]> From: Thomas Hellstrom <[email protected]> Link: https://lore.kernel.org/r/aDc4Is-sQb3DPGO5@fedora
2 parents 58ce2ae + 40493d9 commit 84e2f91

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Documentation/gpu/xe/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ DG2, etc is provided to prototype the driver.
1616
xe_migrate
1717
xe_cs
1818
xe_pm
19+
xe_gt_freq
1920
xe_pcode
2021
xe_gt_mcr
2122
xe_wa

Documentation/gpu/xe/xe_gt_freq.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
3+
==========================
4+
Xe GT Frequency Management
5+
==========================
6+
7+
.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_freq.c
8+
:doc: Xe GT Frequency Management
9+
10+
Internal API
11+
============
12+
13+
.. kernel-doc:: drivers/gpu/drm/xe/xe_gt_freq.c
14+
:internal:

drivers/gpu/drm/xe/xe_gt_freq.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,18 @@
3232
* Xe's Freq provides a sysfs API for frequency management:
3333
*
3434
* device/tile#/gt#/freq0/<item>_freq *read-only* files:
35+
*
3536
* - act_freq: The actual resolved frequency decided by PCODE.
3637
* - cur_freq: The current one requested by GuC PC to the PCODE.
3738
* - rpn_freq: The Render Performance (RP) N level, which is the minimal one.
39+
* - rpa_freq: The Render Performance (RP) A level, which is the achiveable one.
40+
* Calculated by PCODE at runtime based on multiple running conditions
3841
* - rpe_freq: The Render Performance (RP) E level, which is the efficient one.
42+
* Calculated by PCODE at runtime based on multiple running conditions
3943
* - rp0_freq: The Render Performance (RP) 0 level, which is the maximum one.
4044
*
4145
* device/tile#/gt#/freq0/<item>_freq *read-write* files:
46+
*
4247
* - min_freq: Min frequency request.
4348
* - max_freq: Max frequency request.
4449
* If max <= min, then freq_min becomes a fixed frequency request.

0 commit comments

Comments
 (0)