drm/amdgpu: amdgpu_drm.h: fix comment typos

Message ID 20231002010835.14798-1-rdunlap@infradead.org
State New
Headers
Series drm/amdgpu: amdgpu_drm.h: fix comment typos |

Commit Message

Randy Dunlap Oct. 2, 2023, 1:08 a.m. UTC
  Correct typos of "occurred".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
Cc: amd-gfx@lists.freedesktop.org
---
 include/uapi/drm/amdgpu_drm.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Christian König Oct. 2, 2023, 10:32 a.m. UTC | #1
Am 02.10.23 um 03:08 schrieb Randy Dunlap:
> Correct typos of "occurred".
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Alex Deucher <alexander.deucher@amd.com>
> Cc: Christian König <christian.koenig@amd.com>
> Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
> Cc: amd-gfx@lists.freedesktop.org

Reviewed-by: Christian König <christian.koenig@amd.com>

> ---
>   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)
  
Alex Deucher Oct. 2, 2023, 3:42 p.m. UTC | #2
Applied.  Thanks!

On Mon, Oct 2, 2023 at 6:32 AM Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> Am 02.10.23 um 03:08 schrieb Randy Dunlap:
> > Correct typos of "occurred".
> >
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > Cc: Alex Deucher <alexander.deucher@amd.com>
> > Cc: Christian König <christian.koenig@amd.com>
> > Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
> > Cc: amd-gfx@lists.freedesktop.org
>
> Reviewed-by: Christian König <christian.koenig@amd.com>
>
> > ---
> >   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)
>
  

Patch

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)