diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1074-drm-amd-powerplay-fix-compile-errors.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/1074-drm-amd-powerplay-fix-compile-errors.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1074-drm-amd-powerplay-fix-compile-errors.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1074-drm-amd-powerplay-fix-compile-errors.patch new file mode 100644 index 00000000..7d2ff7f6 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1074-drm-amd-powerplay-fix-compile-errors.patch @@ -0,0 +1,32 @@ +From a5ea8922a4c18f3d660f4f61e980cb5f0a75fde8 Mon Sep 17 00:00:00 2001 +From: Evan Quan <evan.quan@amd.com> +Date: Fri, 27 Oct 2017 12:12:39 +0800 +Subject: [PATCH 1074/4131] drm/amd/powerplay: fix compile errors + +It's brought by "drm/amd/powerplay: fix performance drop on Vega10" +since smumgr layer has not been removed yet on current branch. + +Change-Id: I4e5b79ab99b27bb7bb89a77a7aa534f90495119f +Signed-off-by: Evan Quan <evan.quan@amd.com> +Reviewed-by: Ken Wang <ken.wang@amd.com> +Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +index 18d54bb..d278174 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +@@ -2881,7 +2881,7 @@ static int vega10_enable_dpm_tasks(struct pp_hwmgr *hwmgr) + + if ((data->smu_version == 0x001c2c00) || + (data->smu_version == 0x001c2d00)) { +- tmp_result = smum_send_msg_to_smc_with_parameter(hwmgr, ++ tmp_result = smum_send_msg_to_smc_with_parameter(hwmgr->smumgr, + PPSMC_MSG_UpdatePkgPwrPidAlpha, 1); + PP_ASSERT_WITH_CODE(!tmp_result, + "Failed to set package power PID!", +-- +2.7.4 + |