diff options
| author | Alex Sierra <[email protected]> | 2020-04-01 16:35:06 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-09 16:41:52 -0400 |
| commit | 6ae2784114c037c770d8726e9d3fdae72907656b (patch) | |
| tree | 6e4029e8066bff50edf73a2836d9c193ba47831f /tools/perf/scripts/python | |
| parent | 5eba2858416df5376e577675836ecf4a65b2f306 (diff) | |
drm/amdgpu: replace per_device_list by array
Remove per_device_list from kfd_process and replace it with a
kfd_process_device pointers array of MAX_GPU_INSTANCES size. This helps
to manage the kfd_process_devices binded to a specific kfd_process.
Also, functions used by kfd_chardev to iterate over the list were
removed, since they are not valid anymore. Instead, it was replaced by a
local loop iterating the array.
Signed-off-by: Alex Sierra <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Jonathan Kim <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions