public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Fix documentation heading levels in xe_guc_pc.c
@ 2025-12-09  9:48 Swaraj Gaikwad
  2025-12-18  6:46 ` Swaraj Gaikwad
  0 siblings, 1 reply; 3+ messages in thread
From: Swaraj Gaikwad @ 2025-12-09  9:48 UTC (permalink / raw)
  To: Lucas De Marchi, Thomas Hellström, Rodrigo Vivi,
	David Airlie, Simona Vetter,
	open list:INTEL DRM XE DRIVER (Lunar Lake and newer),
	open list:DRM DRIVERS, open list
  Cc: skhan, david.hunter.linux, Swaraj Gaikwad

Sphinx reports htmldocs warnings:

  Documentation/gpu/xe/xe_firmware:31: ./drivers/gpu/drm/xe/xe_guc_pc.c:76: ERROR: A level 2 section cannot be used here.
  Documentation/gpu/xe/xe_firmware:31: ./drivers/gpu/drm/xe/xe_guc_pc.c:87: ERROR: A level 2 section cannot be used here.

The xe_guc_pc.c documentation is included inside xe_firmware.rst.
The headers in the C file currently use '=' underlines, which conflict with
the parent document's section levels.

Fix this by demoting "Frequency management" and "Render-C States" headers
from '=' to '-' to correctly nest them as subsections.

Build environment: Python 3.13.7 Sphinx 8.2.3 docutils 0.22.3

Signed-off-by: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>
---
 drivers/gpu/drm/xe/xe_guc_pc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_pc.c b/drivers/gpu/drm/xe/xe_guc_pc.c
index 951a49fb1d3e..a114f0d8592c 100644
--- a/drivers/gpu/drm/xe/xe_guc_pc.c
+++ b/drivers/gpu/drm/xe/xe_guc_pc.c
@@ -76,7 +76,7 @@
  * exposes a programming interface to the host for the control of SLPC.
  *
  * Frequency management:
- * =====================
+ * ---------------------
  *
  * Xe driver enables SLPC with all of its defaults features and frequency
  * selection, which varies per platform.
@@ -87,7 +87,7 @@
  * for any workload.
  *
  * Render-C States:
- * ================
+ * ----------------
  *
  * Render-C states is also a GuC PC feature that is now enabled in Xe for
  * all platforms.

base-commit: cfd4039213e7b5a828c5b78e1b5235cac91af53d
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/xe: Fix documentation heading levels in xe_guc_pc.c
  2025-12-09  9:48 [PATCH] drm/xe: Fix documentation heading levels in xe_guc_pc.c Swaraj Gaikwad
@ 2025-12-18  6:46 ` Swaraj Gaikwad
  2025-12-18 22:57   ` Rodrigo Vivi
  0 siblings, 1 reply; 3+ messages in thread
From: Swaraj Gaikwad @ 2025-12-18  6:46 UTC (permalink / raw)
  To: swarajgaikwad1925
  Cc: airlied, david.hunter.linux, dri-devel, intel-xe, linux-kernel,
	lucas.demarchi, rodrigo.vivi, simona, skhan, thomas.hellstrom

Hi

I’m following up on this patch from last week. It addresses a couple of Sphinx
documentation errors ("A level 2 section cannot be used here") that occur
when building htmldocs.

Please let me know if the changes look good or if you would like me to
adjust anything.

Thanks,
Swaraj

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/xe: Fix documentation heading levels in xe_guc_pc.c
  2025-12-18  6:46 ` Swaraj Gaikwad
@ 2025-12-18 22:57   ` Rodrigo Vivi
  0 siblings, 0 replies; 3+ messages in thread
From: Rodrigo Vivi @ 2025-12-18 22:57 UTC (permalink / raw)
  To: Swaraj Gaikwad
  Cc: airlied, david.hunter.linux, dri-devel, intel-xe, linux-kernel,
	lucas.demarchi, simona, skhan, thomas.hellstrom

On Thu, Dec 18, 2025 at 12:16:38PM +0530, Swaraj Gaikwad wrote:
> Hi
> 
> I’m following up on this patch from last week. It addresses a couple of Sphinx
> documentation errors ("A level 2 section cannot be used here") that occur
> when building htmldocs.
> 
> Please let me know if the changes look good or if you would like me to
> adjust anything.

Thanks for this patch. I just pushed to drm-xe-next.

> 
> Thanks,
> Swaraj

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-18 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-09  9:48 [PATCH] drm/xe: Fix documentation heading levels in xe_guc_pc.c Swaraj Gaikwad
2025-12-18  6:46 ` Swaraj Gaikwad
2025-12-18 22:57   ` Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox