Skip to contentSkip to conversation

drm/amdgpu: Fix a typo

PATCH Superseded Bhaskar Chowdhury 3 participants 4 messages Mar 18, 2021

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Fix a typo

s/traing/training/

---
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +1 -1
index c325d6f53a71..db18e4f6cf5f 100644
@@ -661,7 +661,7 @@ 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,
+		 * Long training 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.

--
2.26.2

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

#1 lore raw
Quoted 13 lines · Bhaskar Chowdhury

s/traing/training/

---
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -0
index c325d6f53a71..db18e4f6cf5f 100644

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

Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +1 -1
@@ -661,7 +661,7 @@ 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,
+		 * Long training will encroach certain mount of bottom VRAM,

amount
I think.

Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -1
 		 * saving the content of this bottom VRAM to system memory
 		 * before training, and restoring it after training to avoid
 		 * VRAM corruption.
--

2.26.2

Signature · 6 lines
~Randy

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
Quoted 16 lines · Randy Dunlap
Quoted 14 lines · Bhaskar Chowdhury

s/traing/training/

---
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -0
index c325d6f53a71..db18e4f6cf5f 100644
@@ -661,7 +661,7 @@ static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops)
 
Quoted 7 lines

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

Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +1 -1
      if (ops & PSP_MEM_TRAIN_SEND_LONG_MSG) {
              /*
-              * Long traing will encroach certain mount of bottom VRAM,
+              * Long training will encroach certain mount of bottom VRAM,

amount
I think.

Yeah, I think it should read something like:

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.

Alex

Quoted 9 lines
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -1
               * saving the content of this bottom VRAM to system memory
               * before training, and restoring it after training to avoid
               * VRAM corruption.
--

2.26.2

Quoted 7 lines

--
~Randy

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

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

#3 lore raw
Quoted 25 lines · Alex Deucher
Quoted 16 lines · Randy Dunlap
Quoted 14 lines · Bhaskar Chowdhury

s/traing/training/

---
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -0
index c325d6f53a71..db18e4f6cf5f 100644
@@ -661,7 +661,7 @@ static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops)
 
Quoted 7 lines

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

Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +1 -1
      if (ops & PSP_MEM_TRAIN_SEND_LONG_MSG) {
              /*
-              * Long traing will encroach certain mount of bottom VRAM,
+              * Long training will encroach certain mount of bottom VRAM,

amount
I think.

Quoted 13 lines

Yeah, I think it should read something like:

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.

Alex

Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0 -0
               * saving the content of this bottom VRAM to system memory
               * before training, and restoring it after training to avoid
               * VRAM corruption.

Thanks.

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

--
2.26.2

Quoted 7 lines
Quoted 7 lines

--
~Randy

_______________________________________________
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