summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2018-01-05 01:17:41 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2018-01-05 01:17:41 +0300
commit3ee2d00cfb6c0b44aeb9575c20ad8d1abf09be0f (patch)
tree4a320d8b5685f4f221cafa2186a390e2d011cdab /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parent3f866f5f04d3645970662409d2bdff3dca58b1a3 (diff)
downloadlinux-3ee2d00cfb6c0b44aeb9575c20ad8d1abf09be0f.tar.xz
drm/amdkfd: Conditionally enable PCIe atomics
This will be needed for most dGPUs. CC: linux-pci@vger.kernel.org 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
index 0bedcf9cc08c..e5b16209f069 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -158,6 +158,7 @@ struct kfd_device_info {
uint8_t num_of_watch_points;
uint16_t mqd_size_aligned;
bool supports_cwsr;
+ bool needs_pci_atomics;
};
struct kfd_mem_obj {