Re: [PATCH] drm/i915: Fix doc build issue on intel_cdclk.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Rodrigo Vivi (2024-02-20 19:30:30-03:00)
>Fixing some doc build issues:
>
>Documentation/gpu/i915:222: drivers/gpu/drm/i915/display/intel_cdclk.c:69: ERROR: Unexpected indentation.
>Documentation/gpu/i915:222: ./drivers/gpu/drm/i915/display/intel_cdclk.c:70: WARNING: Block quote ends without a blank line; unexpected unindent.

Ugh... I wonder if our CI could do something like:

  make SPHINXDIRS=gpu htmldocs

to capture those little mistakes we make...

>
>Closes: https://lore.kernel.org/all/20240219161747.0e867406@xxxxxxxxxxxxxxxx/
>Fixes: 79e2ea2eaaa6 ("drm/i915/cdclk: Document CDCLK update methods")
>Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
>Cc: Gustavo Sousa <gustavo.sousa@xxxxxxxxx>
>Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
>Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
>---
> drivers/gpu/drm/i915/display/intel_cdclk.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
>diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.c b/drivers/gpu/drm/i915/display/intel_cdclk.c
>index 30dae4fef6cb..42cbc3203d2c 100644
>--- a/drivers/gpu/drm/i915/display/intel_cdclk.c
>+++ b/drivers/gpu/drm/i915/display/intel_cdclk.c
>@@ -65,13 +65,19 @@
>  *
>  * Several methods exist to change the CDCLK frequency, which ones are
>  * supported depends on the platform:
>+ *

Looks like this blank line should be enough to fix the warning and the
blank lines between the list items are not strictly necessary.

With or without the blank lines between list items,

Reviewed-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx>

Thanks for the fix!

And it seems I have some homework to do on [1] before gets applied :-)

[1] https://patchwork.freedesktop.org/series/130016/

>  * - Full PLL disable + re-enable with new VCO frequency. Pipes must be inactive.
>+ *
>  * - CD2X divider update. Single pipe can be active as the divider update
>  *   can be synchronized with the pipe's start of vblank.
>+ *
>  * - Crawl the PLL smoothly to the new VCO frequency. Pipes can be active.
>+ *
>  * - Squash waveform update. Pipes can be active.
>+ *
>  * - Crawl and squash can also be done back to back. Pipes can be active.
>  *
>+ *

This extra blank line could be removed.

--
Gustavo Sousa

>  * RAWCLK is a fixed frequency clock, often used by various auxiliary
>  * blocks such as AUX CH or backlight PWM. Hence the only thing we
>  * really need to know about RAWCLK is its frequency so that various
>-- 
>2.43.2
>




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux