答复: [PATCH] drm/amd/powerplay: fix copy error in powerplay

Qu, Jim Jim.Qu at amd.com
Tue Sep 26 03:27:47 UTC 2017


Reviewed-by: Jim Qu <JimQu at amd.com>

Thanks
JimQu

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

cause amdgpu fail to initialize on CZ/ST

Change-Id: Ica0527e9979268f609dbbe69fb8c7ecd97d26875
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
index 4984c9d..73969f3 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
@@ -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
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list