drm/amdkfd: Tidy up kfd_generate_gpu_id() uint64_t bitshift unpack
authorEdward O'Callaghan <funfunctor@folklore1984.net>
Sat, 17 Sep 2016 05:01:40 +0000 (15:01 +1000)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 19 Sep 2016 17:58:35 +0000 (20:58 +0300)
commit585f0e6c53d68e127b3e7e30e4968364c7292ebb
tree4acb1ec168f047da699ecc5584732a39c7ace06b
parent9f8cf165c62913244479832f04c44cd77ffc9293
drm/amdkfd: Tidy up kfd_generate_gpu_id() uint64_t bitshift unpack

Dereference the one time and unpack the lower and upper 32bit
portions with the proper kernel helper macros.

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>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c