aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2258-drm-amd-powerplay-fix-the-mp-smuio-header-for-navi10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2258-drm-amd-powerplay-fix-the-mp-smuio-header-for-navi10.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2258-drm-amd-powerplay-fix-the-mp-smuio-header-for-navi10.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2258-drm-amd-powerplay-fix-the-mp-smuio-header-for-navi10.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2258-drm-amd-powerplay-fix-the-mp-smuio-header-for-navi10.patch
new file mode 100644
index 00000000..f6df6919
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2258-drm-amd-powerplay-fix-the-mp-smuio-header-for-navi10.patch
@@ -0,0 +1,38 @@
+From a67f6465ccc76d23ba1db9d6f1b3f8271f5e45ae Mon Sep 17 00:00:00 2001
+From: Huang Rui <ray.huang@amd.com>
+Date: Thu, 31 Jan 2019 21:03:24 +0800
+Subject: [PATCH 2258/2940] drm/amd/powerplay: fix the mp/smuio header for
+ navi10
+
+SMU11 should use mp11 and smuio11 headers.
+
+Signed-off-by: Huang Rui <ray.huang@amd.com>
+Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+index 376b10f0b2d9..26644168d58c 100644
+--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
++++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+@@ -35,11 +35,11 @@
+
+ #include "asic_reg/thm/thm_11_0_2_offset.h"
+ #include "asic_reg/thm/thm_11_0_2_sh_mask.h"
+-#include "asic_reg/mp/mp_9_0_offset.h"
+-#include "asic_reg/mp/mp_9_0_sh_mask.h"
++#include "asic_reg/mp/mp_11_0_offset.h"
++#include "asic_reg/mp/mp_11_0_sh_mask.h"
+ #include "asic_reg/nbio/nbio_7_4_offset.h"
+-#include "asic_reg/smuio/smuio_9_0_offset.h"
+-#include "asic_reg/smuio/smuio_9_0_sh_mask.h"
++#include "asic_reg/smuio/smuio_11_0_0_offset.h"
++#include "asic_reg/smuio/smuio_11_0_0_sh_mask.h"
+
+ MODULE_FIRMWARE("amdgpu/vega20_smc.bin");
+
+--
+2.17.1
+