summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorFelix Kuehling2017-12-09 05:09:03 +0100
committerOded Gabbay2017-12-09 05:09:03 +0100
commitebcfd1e276207e4436a6d15a81f7e151a103565c (patch)
treeed164e3f9eabe3ae94b52f3524c4dba976cc520b /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parentdrm/amdkfd: Add AQL Queue Memory flag on topology (diff)
downloadkernel-qcow2-linux-ebcfd1e276207e4436a6d15a81f7e151a103565c.tar.gz
kernel-qcow2-linux-ebcfd1e276207e4436a6d15a81f7e151a103565c.tar.xz
kernel-qcow2-linux-ebcfd1e276207e4436a6d15a81f7e151a103565c.zip
drm/amdkfd: Module option to disable CRAT table
Some systems have broken CRAT tables. Add a module option to ignore a CRAT table. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_priv.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_priv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
index f0327c219879..6a48d29ada47 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -104,6 +104,12 @@ extern int cwsr_enable;
*/
extern int send_sigterm;
+/*
+ * Ignore CRAT table during KFD initialization, can be used to work around
+ * broken CRAT tables on some AMD systems
+ */
+extern int ignore_crat;
+
/**
* enum kfd_sched_policy
*