commit | c7b1243eef128c49aabdfab71cd4f5ecb6602d97 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Mon Nov 27 18:29:50 2017 -0500 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Mon Nov 27 18:29:50 2017 -0500 |
tree | 3f87a9bd0228506b0366328aad0c68297e39fb6b | |
parent | 851a645efd0fee7f27819ab30f3b353bace3cd98 [diff] |
drm/amdkfd: Get reference to lead_thread task struct Increment the kfd_process.lead_thread's reference counter to make it safe to dereference. This is needed for getting a safe reference to the process' mm_struct. 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>