aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3886-drm-amd-soc15-Add-external_rev_id-for-vega12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3886-drm-amd-soc15-Add-external_rev_id-for-vega12.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3886-drm-amd-soc15-Add-external_rev_id-for-vega12.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3886-drm-amd-soc15-Add-external_rev_id-for-vega12.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3886-drm-amd-soc15-Add-external_rev_id-for-vega12.patch
new file mode 100644
index 00000000..6c0a038d
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3886-drm-amd-soc15-Add-external_rev_id-for-vega12.patch
@@ -0,0 +1,29 @@
+From 98f1a19ef4d6604a1c0beb7155f14aa2cc504206 Mon Sep 17 00:00:00 2001
+From: Feifei Xu <Feifei.Xu@amd.com>
+Date: Thu, 14 Dec 2017 19:02:47 +0800
+Subject: [PATCH 3886/4131] drm/amd/soc15: Add external_rev_id for vega12.
+
+Add external_rev_id for vega12.
+
+Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
+index 0ad9272..e308c3c 100644
+--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
+@@ -672,7 +672,7 @@ static int soc15_common_early_init(void *handle)
+ AMD_CG_SUPPORT_VCE_MGCG |
+ AMD_CG_SUPPORT_UVD_MGCG;
+ adev->pg_flags = 0;
+- adev->external_rev_id = 0x1; /* ??? */
++ adev->external_rev_id = adev->rev_id + 0x14;
+ break;
+ case CHIP_RAVEN:
+ adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
+--
+2.7.4
+