Skip to contentSkip to conversation

amd/amdgpu: fix typo about amdgpu_sriov_vf

PATCH In review Chengming Gui 3 participants 3 messages Dec 10, 2018 – Dec 11, 2018 1 message not in the archive

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

PATCH 1/1 amd/amdgpu: fix typo about amdgpu_sriov_vf

---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -1
index a9c853a..08f443f 100644
@@ -4068,7 +4068,7 @@ static void gfx_v8_0_rlc_start(struct amdgpu_device *adev)
 
 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev)
 {
-	if (amdgpu_sriov(adev)) {
+	if (amdgpu_sriov_vf(adev)) {
 		gfx_v8_0_init_csb(adev);
 		return 0;
 	}
Signature · 6 lines
2.7.4

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

A message that is not in the archive (sent off-list or not yet received): 1544429113-1032-1-git-send-email-Jack.Gui-5C7GfCeVMHo@public.gmane.org

Reviewed-by Huang Rui
#2 lore raw
Quoted 8 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Chengming Gui
Sent: Monday, December 10, 2018 4:05 PM
To: [email protected]
Cc: Gui, Jack <[email protected]>
Subject: [PATCH] amd/amdgpu: fix typo about amdgpu_sriov_vf

Please add description (fix build error) to for the commit.

With that fixed, please add

Quoted 22 lines
---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -2
index a9c853a..08f443f 100644
@@ -4068,7 +4068,7 @@ static void gfx_v8_0_rlc_start(struct
 amdgpu_device *adev)
 
 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev)  {
-	if (amdgpu_sriov(adev)) {
+	if (amdgpu_sriov_vf(adev)) {
 		gfx_v8_0_init_csb(adev);
 		return 0;
 	}
--

2.7.4

Quoted 4 lines

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

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

Reviewed-by Tiecheng Zhou
#3 lore raw
In reply to a message not in the archive

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Gui, Jack
Sent: Monday, December 10, 2018 4:05 PM
To: [email protected]
Cc: Gui, Jack <[email protected]>
Subject: [PATCH] amd/amdgpu: fix typo about amdgpu_sriov_vf

---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -2
index a9c853a..08f443f 100644
@@ -4068,7 +4068,7 @@ static void gfx_v8_0_rlc_start(struct amdgpu_device *adev)
 
 static int gfx_v8_0_rlc_resume(struct amdgpu_device *adev)  {
-	if (amdgpu_sriov(adev)) {
+	if (amdgpu_sriov_vf(adev)) {
 		gfx_v8_0_init_csb(adev);
 		return 0;
 	}
--

2.7.4

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