diff options
author | Alex Sierra <alex.sierra@amd.com> | 2020-04-01 16:35:06 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:41:52 -0400 |
commit | 6ae2784114c037c770d8726e9d3fdae72907656b (patch) | |
tree | 6e4029e8066bff50edf73a2836d9c193ba47831f /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | |
parent | 5eba2858416df5376e577675836ecf4a65b2f306 (diff) | |
download | linux-6ae2784114c037c770d8726e9d3fdae72907656b.tar.gz linux-6ae2784114c037c770d8726e9d3fdae72907656b.tar.bz2 linux-6ae2784114c037c770d8726e9d3fdae72907656b.zip |
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 <alex.sierra@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c')
0 files changed, 0 insertions, 0 deletions