]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Clean up KFD init and fini
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 31 Aug 2018 20:54:12 +0000 (16:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:44:32 +0000 (22:44 -0500)
commit89a64a92a56bccdb872f067cc0db1fd94fea6717
tree2950a3312adfd18e2c68d808c3f1c39b8bdb05a0
parent4d60a8e84ae74b7a7a22ecd02493dde711138fd3
drm/amdgpu: Clean up KFD init and fini

Only initialize KFD once by moving amdgpu_amdkfd_init from
amdgpu_pci_probe to amdgpu_init. This fixes kernel oopses and hangs
when booting multi-GPU systems.

Also removed some vestiges of KFD being its own module.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c