aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3231-drm-amdgpu-Add-amdgpu_asic_funcs.reset_method-for-Ve.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3231-drm-amdgpu-Add-amdgpu_asic_funcs.reset_method-for-Ve.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3231-drm-amdgpu-Add-amdgpu_asic_funcs.reset_method-for-Ve.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3231-drm-amdgpu-Add-amdgpu_asic_funcs.reset_method-for-Ve.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3231-drm-amdgpu-Add-amdgpu_asic_funcs.reset_method-for-Ve.patch
new file mode 100644
index 00000000..e316f80f
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3231-drm-amdgpu-Add-amdgpu_asic_funcs.reset_method-for-Ve.patch
@@ -0,0 +1,29 @@
+From 1b239d9f2ea7fe0baf2e97a7f127bae3a52bd5b1 Mon Sep 17 00:00:00 2001
+From: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Date: Thu, 1 Aug 2019 11:44:17 -0400
+Subject: [PATCH 3231/4256] drm/amdgpu: Add amdgpu_asic_funcs.reset_method for
+ Vega20
+
+Fixes GPU reset crash.
+
+Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
+index dc553978d23a..543f19b6655d 100644
+--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
+@@ -895,6 +895,7 @@ static const struct amdgpu_asic_funcs vega20_asic_funcs =
+ .get_pcie_usage = &soc15_get_pcie_usage,
+ .need_reset_on_init = &soc15_need_reset_on_init,
+ .get_pcie_replay_count = &soc15_get_pcie_replay_count,
++ .reset_method = &soc15_asic_reset_method
+ };
+
+ static int soc15_common_early_init(void *handle)
+--
+2.17.1
+