commit | 5c33f214db87b3095062a2c3e6e9f106c5ba2932 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Fri Jul 28 16:54:54 2017 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Aug 15 14:46:02 2017 -0400 |
tree | 0ff374c8ba68a5fcf46b6010f41805da1cd57743 | |
parent | b59eb8984f3080c01b2022772005874446d29646 [diff] |
drm/amdgpu: Fix KFD initialization for multi-GPU systems 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 <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>