summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorFelix Kuehling2017-11-02 00:21:33 +0100
committerOded Gabbay2017-11-02 00:21:33 +0100
commit894a8293aaa702a5aef758bc069162a671ca7a07 (patch)
treee3939413fd043de1be3031655be133b7b790c3cf /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parentdrm/amdkfd: Update queue_count before mapping queues (diff)
downloadkernel-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.h2
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;