]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89477694c5a1782de6865b40c3d4857237c3e1b2
tree4acb1ec168f047da699ecc5584732a39c7ace06b
parent4d911a4a40543f23901feb3fa1c36b0859656d9e
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