Re: [PATCH 1/1] drm/amdgpu: Fix KFD initialization for multi-GPU systems

2017-07-31 Thread Oded Gabbay
On Sat, Jul 29, 2017 at 12:14 AM, Felix Kuehling wrote: > kfd2kgd is device-specific, so it should not be a global variable. > Merge amdgpu_amdkfd_load_interface and amdgpu_amdkfd_device_probe > so that it's only needed as a local variable in one function. > >

[PATCH 1/1] drm/amdgpu: Fix KFD initialization for multi-GPU systems

2017-07-28 Thread Felix Kuehling
kfd2kgd is device-specific, so it should not be a global variable. Merge amdgpu_amdkfd_load_interface and amdgpu_amdkfd_device_probe so that it's only needed as a local variable in one function. Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c