Skip to contentSkip to conversation

drm/amdgpu: amdgpu_drm.h: fix comment typos

PATCH Applied Randy Dunlap 3 participants 3 messages Oct 2, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: amdgpu_drm.h: fix comment typos

Correct typos of "occurred".

Cc Alex Deucher <[email protected]>
Cc Christian König <[email protected]>
Cc "Pan, Xinhui" <[email protected]>
---
 include/uapi/drm/amdgpu_drm.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/drm/amdgpu_drm.h +2 -2
diff -- 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)
Reviewed-by on v1 1/1
#1 lore raw

Am 02.10.23 um 03:08 schrieb Randy Dunlap:

Quoted 7 lines

Correct typos of "occurred".

Cc Alex Deucher <[email protected]>
Cc Christian König <[email protected]>
Cc "Pan, Xinhui" <[email protected]>
Quoted 19 lines
---
  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

include/uapi/drm/amdgpu_drm.h +2 -2
@@ -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)
Applied
#2 lore raw

Applied. Thanks!

Quoted 32 lines · Christian König

Am 02.10.23 um 03:08 schrieb Randy Dunlap:

Quoted 7 lines

Correct typos of "occurred".

Cc Alex Deucher <[email protected]>
Cc Christian König <[email protected]>
Cc "Pan, Xinhui" <[email protected]>
Quoted 19 lines
---
  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

include/uapi/drm/amdgpu_drm.h +2 -2
@@ -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)