aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0401-drm-amdgpu-sriov-Correct-the-setting-about-sdma-door.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0401-drm-amdgpu-sriov-Correct-the-setting-about-sdma-door.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0401-drm-amdgpu-sriov-Correct-the-setting-about-sdma-door.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0401-drm-amdgpu-sriov-Correct-the-setting-about-sdma-door.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0401-drm-amdgpu-sriov-Correct-the-setting-about-sdma-door.patch
new file mode 100644
index 00000000..ae8b7326
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0401-drm-amdgpu-sriov-Correct-the-setting-about-sdma-door.patch
@@ -0,0 +1,38 @@
+From 6be2adb0a79ab2b8baf3e736a0e805d5f6a9de3a Mon Sep 17 00:00:00 2001
+From: Emily Deng <Emily.Deng@amd.com>
+Date: Thu, 9 Aug 2018 15:05:31 +0800
+Subject: [PATCH 0401/2940] drm/amdgpu/sriov: Correct the setting about sdma
+ doorbell offset of Vega10
+
+Correct the format
+
+For vega10 sriov, the sdma doorbell must be fixed as follow to keep the
+same setting with host driver, or it will happen conflicts.
+
+Change-Id: I0e7480c6516a4fe4c2646f1644f897e21e0f7f7b
+Signed-off-by: Emily Deng <Emily.Deng@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+index c54aa75c4360..8dec9422de15 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+@@ -426,8 +426,9 @@ typedef enum _AMDGPU_DOORBELL64_ASSIGNMENT
+ AMDGPU_DOORBELL64_sDMA_HI_PRI_ENGINE1 = 0xE9,
+
+ /* For vega10 sriov, the sdma doorbell must be fixed as follow
+- * to keep the same setting with host driver, or it will
+- * happen conflicts */
++ * to keep the same setting with host driver, or it will
++ * happen conflicts
++ */
+ AMDGPU_VEGA10_DOORBELL64_sDMA_ENGINE0 = 0xF0,
+ AMDGPU_VEGA10_DOORBELL64_sDMA_HI_PRI_ENGINE0 = 0xF1,
+ AMDGPU_VEGA10_DOORBELL64_sDMA_ENGINE1 = 0xF2,
+--
+2.17.1
+