]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Handle xgmi device removal.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 29 Nov 2018 17:21:53 +0000 (12:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Dec 2018 16:15:08 +0000 (11:15 -0500)
commitf71d457e09f3128b2051b87918f94b72b995d30e
tree69a85209edb417f47210e3cccde644d0b88a25a4
parent8b091d367dacec9b58bf1b2c536c9909da6e5761
drm/amdgpu: Handle xgmi device removal.

XGMI hive has some resources allocted on device init which
needs to be deallocated when the device is unregistered.

v2: Remove creation of dedicated wq for XGMI hive reset.
v3: Use the gmc.xgmi.supported flag

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h