Skip to content

Commit af53f0f

Browse files
committed
drm/xe: Make xe_gt_freq part of the Documentation
The documentation was created with the creation of the component, however it has never been actually shown in the actual Documentation. While doing this, fixes the identation style, to avoid new warnings while building htmldocs. Fixes: bef52b5 ("drm/xe: Create a xe_gt_freq component for raw management and sysfs") Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20250521165146.39616-3-rodrigo.vivi@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent 20a0778 commit af53f0f

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-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
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@
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.
3839
* - rpe_freq: The Render Performance (RP) E level, which is the efficient one.
3940
* - rp0_freq: The Render Performance (RP) 0 level, which is the maximum one.
4041
*
4142
* device/tile#/gt#/freq0/<item>_freq *read-write* files:
43+
*
4244
* - min_freq: Min frequency request.
4345
* - max_freq: Max frequency request.
4446
* If max <= min, then freq_min becomes a fixed frequency request.

0 commit comments

Comments
 (0)