diff options
author | Edward O'Callaghan <funfunctor@folklore1984.net> | 2016-09-17 15:01:42 +1000 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2016-09-19 20:58:35 +0300 |
commit | ad16a469ffa1f1bbf8f31e110b4d68cee39757d2 (patch) | |
tree | 732da2669abb45f9a1051621ef78910168d0b9ce /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | |
parent | 78b13f7964d97be4329e6410423a66affd7a68ad (diff) |
drm/amdkfd: Reuse function to find a process through pasid
The kfd_lookup_process_by_pasid() is just for that purpose,
so use it instead of repeating the code.
v2: return on the condition (p == NULL) instead of BUG_ON(!p).
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c')
0 files changed, 0 insertions, 0 deletions