Skip to contentSkip to conversation

drm/amd/powerplay: fix copy error in powerplay

PATCH In review Rex Zhu 3 participants 3 messages Sep 26, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

PATCH 1/1 drm/amd/powerplay: fix copy error in powerplay

cause amdgpu fail to initialize on CZ/ST

Change-Id Ica0527e9979268f609dbbe69fb8c7ecd97d26875
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +1 -1
index 4984c9d..73969f3 100644
@@ -164,7 +164,7 @@ int hwmgr_early_init(struct pp_instance *handle)
 		smu7_init_function_pointers(hwmgr);
 		break;
 	case AMDGPU_FAMILY_CZ:
-		hwmgr->smumgr_funcs = &ci_smu_funcs;
+		hwmgr->smumgr_funcs = &cz_smu_funcs;
 		cz_init_function_pointers(hwmgr);
 		break;
 	case AMDGPU_FAMILY_VI:
Signature · 6 lines
1.9.1

_______________________________________________
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): 1506393345-2487-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

Reviewed-by Jim Qu
#2 lore raw

Thanks
JimQu

________________________________________
发件人: amd-gfx <[email protected]> 代表 Rex Zhu <[email protected]> 发送时间: 2017年9月26日 10:35
收件人: [email protected]
抄送: Zhu, Rex
主题: [PATCH] drm/amd/powerplay: fix copy error in powerplay

cause amdgpu fail to initialize on CZ/ST

Change-Id Ica0527e9979268f609dbbe69fb8c7ecd97d26875
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +1 -1
index 4984c9d..73969f3 100644
@@ -164,7 +164,7 @@ int hwmgr_early_init(struct pp_instance *handle)
                smu7_init_function_pointers(hwmgr);
                break;
        case AMDGPU_FAMILY_CZ:
-               hwmgr->smumgr_funcs = &ci_smu_funcs;
+               hwmgr->smumgr_funcs = &cz_smu_funcs;
                cz_init_function_pointers(hwmgr);
                break;
        case AMDGPU_FAMILY_VI:

--
1.9.1

_______________________________________________
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 Alex Deucher
#3 lore raw
In reply to a message not in the archive
Quoted 8 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Rex Zhu
Sent: Monday, September 25, 2017 10:36 PM
To: [email protected]
Cc: Zhu, Rex
Subject: [PATCH] drm/amd/powerplay: fix copy error in powerplay

Quoted 4 lines

cause amdgpu fail to initialize on CZ/ST

Change-Id Ica0527e9979268f609dbbe69fb8c7ecd97d26875
Quoted 21 lines
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +1 -2
index 4984c9d..73969f3 100644
@@ -164,7 +164,7 @@ int hwmgr_early_init(struct pp_instance *handle)
 		smu7_init_function_pointers(hwmgr);
 		break;
 	case AMDGPU_FAMILY_CZ:
-		hwmgr->smumgr_funcs = &ci_smu_funcs;
+		hwmgr->smumgr_funcs = &cz_smu_funcs;
 		cz_init_function_pointers(hwmgr);
 		break;
 	case AMDGPU_FAMILY_VI:
--

1.9.1

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