summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorAlexey Skidanov2014-07-17 00:49:36 +0200
committerOded Gabbay2014-07-17 00:49:36 +0200
commit775921edc1c10f6022ee6614ff2914704fc605bf (patch)
tree1aa6ae60337aeddb9808eed57c3a5e1478118770 /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parentamdkfd: Implement the Get Clock Counters IOCTL (diff)
downloadkernel-qcow2-linux-775921edc1c10f6022ee6614ff2914704fc605bf.tar.gz
kernel-qcow2-linux-775921edc1c10f6022ee6614ff2914704fc605bf.tar.xz
kernel-qcow2-linux-775921edc1c10f6022ee6614ff2914704fc605bf.zip
amdkfd: Implement the Get Process Aperture IOCTL
v3: Fixed debug messages Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.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 2bc34aa1ad95..41e608d684b1 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -473,6 +473,12 @@ struct kfd_process_device *kfd_get_process_device_data(struct kfd_dev *dev,
struct kfd_process *p,
int create_pdd);
+/* Process device data iterator */
+struct kfd_process_device *kfd_get_first_process_device_data(struct kfd_process *p);
+struct kfd_process_device *kfd_get_next_process_device_data(struct kfd_process *p,
+ struct kfd_process_device *pdd);
+bool kfd_has_process_device_data(struct kfd_process *p);
+
/* PASIDs */
int kfd_pasid_init(void);
void kfd_pasid_exit(void);