diff options
author | Oak Zeng <[email protected]> | 2019-06-10 14:44:07 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-06-11 12:57:33 -0500 |
commit | 465ab9e02aacb0588748690b27f7f3f837b74567 (patch) | |
tree | 682962377fce814a1dc6d73101e3f991e7bbd3a6 /net/switchdev/switchdev.c | |
parent | 1ae99eab34f90c3a5319c79a910e6b71313a9aab (diff) |
drm/amdkfd: Add device to topology after it is completely inited
We can't have devices that are not completely initialized in kfd topology.
Otherwise it is a race condition when user access not completely
initialized device. This also addresses a kfd_topology_add_device accessing
NULL dqm pointer issue.
Signed-off-by: Oak Zeng <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions