aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2020-09-16 21:19:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-09-22 12:24:11 -0400
commitc7651b73586600ddf483de51806eada02cb1616e (patch)
tree73745b4786f5e16910aa09b900d4ca6449e0596d /drivers/gpu/drm/amd/amdgpu/dce_virtual.c
parentdrm/amd/pm: Skip smu_post_init in SRIOV (diff)
downloadlinux-dev-c7651b73586600ddf483de51806eada02cb1616e.tar.xz
linux-dev-c7651b73586600ddf483de51806eada02cb1616e.zip
drm/amdgpu: Fix handling of KFD initialization failures
Remember KFD module initializaton status in a global variable. Skip KFD device probing when the module was not initialized. Other amdgpu_amdkfd calls are then protected by the adev->kfd.dev check. Also print a clear error message when KFD disables itself. Amdgpu continues its initialization even when KFD failed. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_virtual.c')
0 files changed, 0 insertions, 0 deletions