2023-10-02 06:33:05

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] drm/amdgpu: amdgpu_drm.h: fix comment typos

Correct typos of "occurred".

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Cc: "Pan, Xinhui" <[email protected]>
Cc: [email protected]
---
include/uapi/drm/amdgpu_drm.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff -- a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -249,9 +249,9 @@ union drm_amdgpu_bo_list {
/* unknown cause */
#define AMDGPU_CTX_UNKNOWN_RESET 3

-/* indicate gpu reset occured after ctx created */
+/* indicate gpu reset occurred after ctx created */
#define AMDGPU_CTX_QUERY2_FLAGS_RESET (1<<0)
-/* indicate vram lost occured after ctx created */
+/* indicate vram lost occurred after ctx created */
#define AMDGPU_CTX_QUERY2_FLAGS_VRAMLOST (1<<1)
/* indicate some job from this context once cause gpu hang */
#define AMDGPU_CTX_QUERY2_FLAGS_GUILTY (1<<2)


2023-10-02 12:26:11

by Christian König

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: amdgpu_drm.h: fix comment typos

Am 02.10.23 um 03:08 schrieb Randy Dunlap:
> Correct typos of "occurred".
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Alex Deucher <[email protected]>
> Cc: Christian König <[email protected]>
> Cc: "Pan, Xinhui" <[email protected]>
> Cc: [email protected]

Reviewed-by: Christian König <[email protected]>

> ---
> include/uapi/drm/amdgpu_drm.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff -- a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
> --- a/include/uapi/drm/amdgpu_drm.h
> +++ b/include/uapi/drm/amdgpu_drm.h
> @@ -249,9 +249,9 @@ union drm_amdgpu_bo_list {
> /* unknown cause */
> #define AMDGPU_CTX_UNKNOWN_RESET 3
>
> -/* indicate gpu reset occured after ctx created */
> +/* indicate gpu reset occurred after ctx created */
> #define AMDGPU_CTX_QUERY2_FLAGS_RESET (1<<0)
> -/* indicate vram lost occured after ctx created */
> +/* indicate vram lost occurred after ctx created */
> #define AMDGPU_CTX_QUERY2_FLAGS_VRAMLOST (1<<1)
> /* indicate some job from this context once cause gpu hang */
> #define AMDGPU_CTX_QUERY2_FLAGS_GUILTY (1<<2)

2023-10-02 16:45:59

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: amdgpu_drm.h: fix comment typos

Applied. Thanks!

On Mon, Oct 2, 2023 at 6:32 AM Christian König
<[email protected]> wrote:
>
> Am 02.10.23 um 03:08 schrieb Randy Dunlap:
> > Correct typos of "occurred".
> >
> > Signed-off-by: Randy Dunlap <[email protected]>
> > Cc: Alex Deucher <[email protected]>
> > Cc: Christian König <[email protected]>
> > Cc: "Pan, Xinhui" <[email protected]>
> > Cc: [email protected]
>
> Reviewed-by: Christian König <[email protected]>
>
> > ---
> > include/uapi/drm/amdgpu_drm.h | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff -- a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
> > --- a/include/uapi/drm/amdgpu_drm.h
> > +++ b/include/uapi/drm/amdgpu_drm.h
> > @@ -249,9 +249,9 @@ union drm_amdgpu_bo_list {
> > /* unknown cause */
> > #define AMDGPU_CTX_UNKNOWN_RESET 3
> >
> > -/* indicate gpu reset occured after ctx created */
> > +/* indicate gpu reset occurred after ctx created */
> > #define AMDGPU_CTX_QUERY2_FLAGS_RESET (1<<0)
> > -/* indicate vram lost occured after ctx created */
> > +/* indicate vram lost occurred after ctx created */
> > #define AMDGPU_CTX_QUERY2_FLAGS_VRAMLOST (1<<1)
> > /* indicate some job from this context once cause gpu hang */
> > #define AMDGPU_CTX_QUERY2_FLAGS_GUILTY (1<<2)
>