diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2020-09-16 21:19:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-09-22 12:24:11 -0400 |
commit | c7651b73586600ddf483de51806eada02cb1616e (patch) | |
tree | 73745b4786f5e16910aa09b900d4ca6449e0596d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 911d5bd5e7b8531b39301c2c27e5b90d7bd71b88 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions