* [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning
@ 2023-11-06 20:17 Hunter Chasens
2023-11-06 21:08 ` Randy Dunlap
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Hunter Chasens @ 2023-11-06 20:17 UTC (permalink / raw)
To: linux-kernel
Cc: linux-doc, alexander.deucher, christian.koenig, Xinhui.Pan,
airlied, daniel, amd-gfx, dri-devel, Hunter Chasens
Resolves Sphinx unexpected indentation warning when compiling
documentation (e.g. `make htmldocs`). Replaces tabs with spaces and adds
a literal block to keep vertical formatting of the
example power state list.
Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu>
---
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 517b9fb4624c..81b8ceb26890 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev,
* Reading back the files will show you the available power levels within
* the power state and the clock information for those levels. If deep sleep is
* applied to a clock, the level will be denoted by a special level 'S:'
- * E.g.,
- * S: 19Mhz *
- * 0: 615Mhz
- * 1: 800Mhz
- * 2: 888Mhz
- * 3: 1000Mhz
+ * E.g.::
+ *
+ * S: 19Mhz *
+ * 0: 615Mhz
+ * 1: 800Mhz
+ * 2: 888Mhz
+ * 3: 1000Mhz
*
*
* To manually adjust these states, first select manual using
--
2.39.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning
2023-11-06 20:17 [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning Hunter Chasens
@ 2023-11-06 21:08 ` Randy Dunlap
2023-11-07 0:24 ` Bagas Sanjaya
2023-11-07 4:45 ` Lazar, Lijo
2 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2023-11-06 21:08 UTC (permalink / raw)
To: Hunter Chasens, linux-kernel
Cc: linux-doc, alexander.deucher, christian.koenig, Xinhui.Pan,
airlied, daniel, amd-gfx, dri-devel
On 11/6/23 12:17, Hunter Chasens wrote:
> Resolves Sphinx unexpected indentation warning when compiling
> documentation (e.g. `make htmldocs`). Replaces tabs with spaces and adds
> a literal block to keep vertical formatting of the
> example power state list.
>
> Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index 517b9fb4624c..81b8ceb26890 100644
> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev,
> * Reading back the files will show you the available power levels within
> * the power state and the clock information for those levels. If deep sleep is
> * applied to a clock, the level will be denoted by a special level 'S:'
> - * E.g.,
> - * S: 19Mhz *
> - * 0: 615Mhz
> - * 1: 800Mhz
> - * 2: 888Mhz
> - * 3: 1000Mhz
> + * E.g.::
> + *
> + * S: 19Mhz *
> + * 0: 615Mhz
> + * 1: 800Mhz
> + * 2: 888Mhz
> + * 3: 1000Mhz
> *
> *
> * To manually adjust these states, first select manual using
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning
2023-11-06 20:17 [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning Hunter Chasens
2023-11-06 21:08 ` Randy Dunlap
@ 2023-11-07 0:24 ` Bagas Sanjaya
2023-11-07 4:45 ` Lazar, Lijo
2 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2023-11-07 0:24 UTC (permalink / raw)
To: Hunter Chasens, Linux Kernel Mailing List
Cc: Linux Documentation, alexander.deucher, christian.koenig,
Xinhui.Pan, airlied, daniel, Linux AMDGPU, Linux DRI Development,
Lijo Lazar
[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]
On Mon, Nov 06, 2023 at 03:17:39PM -0500, Hunter Chasens wrote:
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index 517b9fb4624c..81b8ceb26890 100644
> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev,
> * Reading back the files will show you the available power levels within
> * the power state and the clock information for those levels. If deep sleep is
> * applied to a clock, the level will be denoted by a special level 'S:'
> - * E.g.,
> - * S: 19Mhz *
> - * 0: 615Mhz
> - * 1: 800Mhz
> - * 2: 888Mhz
> - * 3: 1000Mhz
> + * E.g.::
> + *
> + * S: 19Mhz *
> + * 0: 615Mhz
> + * 1: 800Mhz
> + * 2: 888Mhz
> + * 3: 1000Mhz
> *
> *
> * To manually adjust these states, first select manual using
LGTM, thanks!
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning
2023-11-06 20:17 [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning Hunter Chasens
2023-11-06 21:08 ` Randy Dunlap
2023-11-07 0:24 ` Bagas Sanjaya
@ 2023-11-07 4:45 ` Lazar, Lijo
2023-11-07 15:34 ` Hunter Chasens
2 siblings, 1 reply; 5+ messages in thread
From: Lazar, Lijo @ 2023-11-07 4:45 UTC (permalink / raw)
To: Hunter Chasens, linux-kernel
Cc: linux-doc, Xinhui.Pan, amd-gfx, dri-devel, daniel,
alexander.deucher, airlied, christian.koenig
On 11/7/2023 1:47 AM, Hunter Chasens wrote:
> Resolves Sphinx unexpected indentation warning when compiling
> documentation (e.g. `make htmldocs`). Replaces tabs with spaces and adds
> a literal block to keep vertical formatting of the
> example power state list.
>
> Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu>
> ---
> drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index 517b9fb4624c..81b8ceb26890 100644
> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct device *dev,
> * Reading back the files will show you the available power levels within
> * the power state and the clock information for those levels. If deep sleep is
> * applied to a clock, the level will be denoted by a special level 'S:'
> - * E.g.,
> - * S: 19Mhz *
> - * 0: 615Mhz
> - * 1: 800Mhz
> - * 2: 888Mhz
> - * 3: 1000Mhz
> + * E.g.::
This will be like E.g.: Could you keep it like E.g.,<space>:: so that ::
is taken out?
Thanks,
Lijo
> + *
> + * S: 19Mhz *
> + * 0: 615Mhz
> + * 1: 800Mhz
> + * 2: 888Mhz
> + * 3: 1000Mhz
> *
> *
> * To manually adjust these states, first select manual using
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning
2023-11-07 4:45 ` Lazar, Lijo
@ 2023-11-07 15:34 ` Hunter Chasens
0 siblings, 0 replies; 5+ messages in thread
From: Hunter Chasens @ 2023-11-07 15:34 UTC (permalink / raw)
To: linux-kernel, Lazar, Lijo
Cc: linux-doc, Xinhui.Pan, amd-gfx, dri-devel, daniel,
alexander.deucher, airlied, christian.koenig
[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]
On Monday, November 6, 2023 11:45:24 PM EST Lazar, Lijo wrote:
> On 11/7/2023 1:47 AM, Hunter Chasens wrote:
> > Resolves Sphinx unexpected indentation warning when compiling
> > documentation (e.g. `make htmldocs`). Replaces tabs with spaces and
> > adds
> > a literal block to keep vertical formatting of the
> > example power state list.
> >
> > Signed-off-by: Hunter Chasens <hunter.chasens18@ncf.edu>
> > ---
> >
> > drivers/gpu/drm/amd/pm/amdgpu_pm.c | 13 +++++++------
> > 1 file changed, 7 insertions(+), 6 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> > b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 517b9fb4624c..81b8ceb26890
> > 100644
> > --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> > +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> > @@ -989,12 +989,13 @@ static ssize_t amdgpu_get_pp_features(struct
> > device *dev,>
> > * Reading back the files will show you the available power levels
> > within
> > * the power state and the clock information for those levels. If
> > deep sleep is * applied to a clock, the level will be denoted by a
> > special level 'S:'>
> > - * E.g.,
> > - * S: 19Mhz *
> > - * 0: 615Mhz
> > - * 1: 800Mhz
> > - * 2: 888Mhz
> > - * 3: 1000Mhz
>
> > + * E.g.::
> This will be like E.g.: Could you keep it like E.g.,<space>:: so that ::
> is taken out?
>
> Thanks,
> Lijo
>
> > + *
> > + * S: 19Mhz *
> > + * 0: 615Mhz
> > + * 1: 800Mhz
> > + * 2: 888Mhz
> > + * 3: 1000Mhz
> >
> > *
> > *
> > * To manually adjust these states, first select manual using
No problem. I'll send a v3 out in a bit.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-11-07 20:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-06 20:17 [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning Hunter Chasens
2023-11-06 21:08 ` Randy Dunlap
2023-11-07 0:24 ` Bagas Sanjaya
2023-11-07 4:45 ` Lazar, Lijo
2023-11-07 15:34 ` Hunter Chasens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).