diff options
author | Felix Kuehling | 2017-11-02 00:21:33 +0100 |
---|---|---|
committer | Oded Gabbay | 2017-11-02 00:21:33 +0100 |
commit | 894a8293aaa702a5aef758bc069162a671ca7a07 (patch) | |
tree | e3939413fd043de1be3031655be133b7b790c3cf /drivers/gpu/drm/amd/amdkfd/kfd_priv.h | |
parent | drm/amdkfd: Update queue_count before mapping queues (diff) | |
download | kernel-qcow2-linux-894a8293aaa702a5aef758bc069162a671ca7a07.tar.gz kernel-qcow2-linux-894a8293aaa702a5aef758bc069162a671ca7a07.tar.xz kernel-qcow2-linux-894a8293aaa702a5aef758bc069162a671ca7a07.zip |
drm/amdkfd: Minor cleanups
These were missed previously when rebasing changes for upstreaming.
v2: Remove redundant sched_policy conditions
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h index 78b5d61780cb..9e4134c5b481 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h @@ -507,6 +507,8 @@ struct kfd_process { * In any process, the thread that started main() is the lead * thread and outlives the rest. * It is here because amd_iommu_bind_pasid wants a task_struct. + * It can also be used for safely getting a reference to the + * mm_struct of the process. */ struct task_struct *lead_thread; |