]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/amdkfd: Add chained_runlist_idle_disable flag to pm4_mes_runlist
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 20 Jun 2019 18:50:52 +0000 (14:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jul 2019 19:32:04 +0000 (14:32 -0500)
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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h

index 49ab66b703faf30846f8c3096a25745bb496b7b1..e3e21404cfa0430f05e0beb0857f1be8a15b0509 100644 (file)
@@ -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;