aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3874-drm-amdgpu-sdma4-Add-placeholder-for-vega12-golden-s.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3874-drm-amdgpu-sdma4-Add-placeholder-for-vega12-golden-s.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3874-drm-amdgpu-sdma4-Add-placeholder-for-vega12-golden-s.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3874-drm-amdgpu-sdma4-Add-placeholder-for-vega12-golden-s.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3874-drm-amdgpu-sdma4-Add-placeholder-for-vega12-golden-s.patch
new file mode 100644
index 00000000..9e478660
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3874-drm-amdgpu-sdma4-Add-placeholder-for-vega12-golden-s.patch
@@ -0,0 +1,31 @@
+From 5b4fc2baf09486054088df9bff75f38583f5fbfa Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri, 1 Sep 2017 16:43:47 -0400
+Subject: [PATCH 3874/4131] drm/amdgpu/sdma4: Add placeholder for vega12 golden
+ settings
+
+Fill these in when we get them.
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+index f2803d9..adb0dbf 100644
+--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+@@ -124,6 +124,9 @@ static void sdma_v4_0_init_golden_registers(struct amdgpu_device *adev)
+ golden_settings_sdma_vg10,
+ ARRAY_SIZE(golden_settings_sdma_vg10));
+ break;
++ case CHIP_VEGA12:
++ DRM_ERROR("todo: Missing SDMA4 golden settings for vega12\n");
++ break;
+ case CHIP_RAVEN:
+ soc15_program_register_sequence(adev,
+ golden_settings_sdma_4_1,
+--
+2.7.4
+