]> 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)
commit86970161dce2f80998e98509d426d8787ac77b6b
tree300b1f278f883f2cf1dda5b2299c60debf22fb27
parenta07cfbfc6fa5b890d225d2b8452237b3ee7b0c77
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