commit | ad16a469ffa1f1bbf8f31e110b4d68cee39757d2 | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <funfunctor@folklore1984.net> | Sat Sep 17 15:01:42 2016 +1000 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Mon Sep 19 20:58:35 2016 +0300 |
tree | 732da2669abb45f9a1051621ef78910168d0b9ce | |
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>