diff options
author | Alexey Skidanov <Alexey.Skidanov@amd.com> | 2014-07-17 01:49:36 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2014-07-17 01:49:36 +0300 |
commit | 775921edc1c10f6022ee6614ff2914704fc605bf (patch) | |
tree | 1aa6ae60337aeddb9808eed57c3a5e1478118770 /drivers/gpu/drm/amd/amdkfd/kfd_priv.h | |
parent | 4fac47c8206750128634622853c400570c44040d (diff) | |
download | kernel_replicant_linux-775921edc1c10f6022ee6614ff2914704fc605bf.tar.gz kernel_replicant_linux-775921edc1c10f6022ee6614ff2914704fc605bf.tar.bz2 kernel_replicant_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.h | 6 |
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); |