aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2820-drm-amdkfd-Add-chained_runlist_idle_disable-flag-to-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2820-drm-amdkfd-Add-chained_runlist_idle_disable-flag-to-.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2820-drm-amdkfd-Add-chained_runlist_idle_disable-flag-to-.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2820-drm-amdkfd-Add-chained_runlist_idle_disable-flag-to-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2820-drm-amdkfd-Add-chained_runlist_idle_disable-flag-to-.patch
new file mode 100644
index 00000000..03a42552
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2820-drm-amdkfd-Add-chained_runlist_idle_disable-flag-to-.patch
@@ -0,0 +1,33 @@
+From ab583fc6402fc206eb2d216c3aa6e32317e9f087 Mon Sep 17 00:00:00 2001
+From: Felix Kuehling <Felix.Kuehling@amd.com>
+Date: Thu, 20 Jun 2019 14:50:52 -0400
+Subject: [PATCH 2820/2940] drm/amdkfd: Add chained_runlist_idle_disable flag
+ to pm4_mes_runlist
+
+New flag to disable an idle runlist optimization that is causing soft
+hangs with some diffult-to-reproduce customer workloads. This will
+serve as a workaround until the problem can be reproduced and the
+root-cause determined.
+
+Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
+Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
+---
+ drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h b/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h
+index 2abf2632aa35..d4f399c2aad3 100644
+--- a/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h
++++ b/drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h
+@@ -120,7 +120,7 @@ struct pm4_mes_runlist {
+ uint32_t ib_size:20;
+ uint32_t chain:1;
+ uint32_t offload_polling:1;
+- uint32_t reserved2:1;
++ uint32_t chained_runlist_idle_disable:1;
+ uint32_t valid:1;
+ uint32_t process_cnt:4;
+ uint32_t reserved3:4;
+--
+2.17.1
+