Re: [PATCH 1/4] amdkfd: Tidy up kfd_generate_gpu_id() uint64_t bitshift unpack

2016-09-05 Thread Oded Gabbay
On Sat, Sep 3, 2016 at 5:49 AM, Edward O'Callaghan wrote: > Dereference the one time and unpack the lower and upper 32bit > portions with the proper kernel helper macros. > > Signed-off-by: Edward O'Callaghan > --- > drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 8 +--- > 1 file changed, 5 ins

[PATCH 1/4] amdkfd: Tidy up kfd_generate_gpu_id() uint64_t bitshift unpack

2016-09-02 Thread Edward O'Callaghan
Dereference the one time and unpack the lower and upper 32bit portions with the proper kernel helper macros. Signed-off-by: Edward O'Callaghan --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_