diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1893-drm-amd-powerplay-fix-copy-error-in-powerplay.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1893-drm-amd-powerplay-fix-copy-error-in-powerplay.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1893-drm-amd-powerplay-fix-copy-error-in-powerplay.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1893-drm-amd-powerplay-fix-copy-error-in-powerplay.patch new file mode 100644 index 00000000..4fbdf23c --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1893-drm-amd-powerplay-fix-copy-error-in-powerplay.patch @@ -0,0 +1,31 @@ +From 102f7e216ff54d61010beabdd39e6ba13b172063 Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Tue, 26 Sep 2017 10:32:51 +0800 +Subject: [PATCH 1893/4131] drm/amd/powerplay: fix copy error in powerplay + +caused by commit f96306921d5e34 +amdgpu fail to initialize on CZ/ST + +Change-Id: I7c501a975f50f0de422cf98f7c497a1e76e71151 +Reviewed-by: Jim Qu <JimQu@amd.com> +Signed-off-by: Rex Zhu <Rex.Zhu@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 deab608..ebc3a81 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: +-- +2.7.4 + |