Skip to contentSkip to conversation

drm/amdgpu: Fix a typo

PATCH Superseded Bhaskar Chowdhury 3 participants 3 messages Mar 18, 2021 – Mar 22, 2021

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/amdgpu: Fix a typo

s/traing/training/

...Plus the entire sentence construction for better readability.

---
Changes from V1:
Alex and Randy's suggestions incorporated.

 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +4 -4
index c325d6f53a71..bf3857867f51 100644
@@ -661,10 +661,10 @@ static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops)
 
 	if (ops & PSP_MEM_TRAIN_SEND_LONG_MSG) {
 		/*
-		 * Long traing will encroach certain mount of bottom VRAM,
-		 * saving the content of this bottom VRAM to system memory
-		 * before training, and restoring it after training to avoid
-		 * VRAM corruption.
+		 * Long training will encroach a certain amount on the bottom of VRAM;
+                 * save the content from the bottom VRAM to system memory
+                 * before training, and restore it after training to avoid
+                 * VRAM corruption.
 		 */
 		sz = GDDR6_MEM_TRAINING_ENCROACHED_SIZE;
 

--
2.26.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 18 lines · Bhaskar Chowdhury

s/traing/training/

...Plus the entire sentence construction for better readability.

---
Changes from V1:
Alex and Randy's suggestions incorporated.

drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 8 ++++----

1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -0
index c325d6f53a71..bf3857867f51 100644
@@ -661,10 +661,10 @@ static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops)
 

drivers/gpu/drm/amd/amdgpu/psp_v11_0.c static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops) · line 667

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +4 -4
 	if (ops & PSP_MEM_TRAIN_SEND_LONG_MSG) {
 		/*
-		 * Long traing will encroach certain mount of bottom VRAM,
-		 * saving the content of this bottom VRAM to system memory
-		 * before training, and restoring it after training to avoid
-		 * VRAM corruption.
+		 * Long training will encroach a certain amount on the bottom of VRAM;
+                 * save the content from the bottom VRAM to system memory
+                 * before training, and restore it after training to avoid
+                 * VRAM corruption.

These 3 new lines are indented with spaces instead of tabs. Oops. :(

(I may be too late with this comment -- sorry about that.)

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -1
 		 */
 		sz = GDDR6_MEM_TRAINING_ENCROACHED_SIZE;
 
--

2.26.2

#2 lore raw
Quoted 36 lines · Randy Dunlap
Quoted 18 lines · Bhaskar Chowdhury

s/traing/training/

...Plus the entire sentence construction for better readability.

---
Changes from V1:
Alex and Randy's suggestions incorporated.

drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 8 ++++----

1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -0
index c325d6f53a71..bf3857867f51 100644
@@ -661,10 +661,10 @@ static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops)
 

drivers/gpu/drm/amd/amdgpu/psp_v11_0.c static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops) · line 667

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +4 -4
      if (ops & PSP_MEM_TRAIN_SEND_LONG_MSG) {
              /*
-              * Long traing will encroach certain mount of bottom VRAM,
-              * saving the content of this bottom VRAM to system memory
-              * before training, and restoring it after training to avoid
-              * VRAM corruption.
+              * Long training will encroach a certain amount on the bottom of VRAM;
+                 * save the content from the bottom VRAM to system memory
+                 * before training, and restore it after training to avoid
+                 * VRAM corruption.

These 3 new lines are indented with spaces instead of tabs. Oops. :(

Quoted 1 line

(I may be too late with this comment -- sorry about that.)

I fixed that up when I applied it.

Thanks,

Alex

Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -0
               */
              sz = GDDR6_MEM_TRAINING_ENCROACHED_SIZE;
 
Quoted 8 lines
Quoted 4 lines

--
2.26.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel