aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1065-drm-amd-powerplay-fix-drm-amd-powerplay-Partially-re.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1065-drm-amd-powerplay-fix-drm-amd-powerplay-Partially-re.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/1065-drm-amd-powerplay-fix-drm-amd-powerplay-Partially-re.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1065-drm-amd-powerplay-fix-drm-amd-powerplay-Partially-re.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1065-drm-amd-powerplay-fix-drm-amd-powerplay-Partially-re.patch
new file mode 100644
index 00000000..35216e0b
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1065-drm-amd-powerplay-fix-drm-amd-powerplay-Partially-re.patch
@@ -0,0 +1,33 @@
+From af8c80d14d2f3029467b22ae57cd3991486e3ede Mon Sep 17 00:00:00 2001
+From: Evan Quan <evan.quan@amd.com>
+Date: Thu, 12 Oct 2017 16:48:46 +0800
+Subject: [PATCH 1065/4131] drm/amd/powerplay: fix "drm/amd/powerplay:
+ Partially revert changes and fix smu7_notify_smc_display()" - smumgr layer
+ has not been removed yet in current branch
+
+Change-Id: I36f331c52091a2947e278c0b275edbc2a7be221c
+Signed-off-by: Evan Quan <evan.quan@amd.com>
+Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+index 37340c4..26751cc 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+@@ -3830,9 +3830,9 @@ static int smu7_notify_smc_display(struct pp_hwmgr *hwmgr)
+ struct smu7_hwmgr *data = (struct smu7_hwmgr *)(hwmgr->backend);
+
+ if (hwmgr->feature_mask & PP_VBI_TIME_SUPPORT_MASK)
+- smum_send_msg_to_smc_with_parameter(hwmgr,
++ smum_send_msg_to_smc_with_parameter(hwmgr->smumgr,
+ (PPSMC_Msg)PPSMC_MSG_SetVBITimeout, data->frame_time_x2);
+- return (smum_send_msg_to_smc(hwmgr, (PPSMC_Msg)PPSMC_HasDisplay) == 0) ? 0 : -EINVAL;
++ return (smum_send_msg_to_smc(hwmgr->smumgr, (PPSMC_Msg)PPSMC_HasDisplay) == 0) ? 0 : -EINVAL;
+ }
+
+ static int smu7_set_power_state_tasks(struct pp_hwmgr *hwmgr, const void *input)
+--
+2.7.4
+