]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add kfd init_complete flag to check from amdgpu side
authorshaoyunl <shaoyun.liu@amd.com>
Tue, 16 Feb 2021 15:57:17 +0000 (10:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:10:28 +0000 (23:10 -0400)
commit29fc50d5d27925e8d828295af0c5c37327e2e2bc
tree300b1f278f883f2cf1dda5b2299c60debf22fb27
parent0f142b9140867e2ffefde81a0af6f896088e6fe9
drm/amdgpu: Add kfd init_complete flag to check from amdgpu side

amdgpu driver may be in reset state during init which will not initialize the kfd,
driver need to initialize the KFD after reset by check the flag

Signed-off-by: shaoyunl <shaoyun.liu@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_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c