diff options
| author | Mikulas Patocka <[email protected]> | 2021-03-10 05:18:03 -0500 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2021-03-26 14:53:41 -0400 |
| commit | b82096afc8afdc55408efb54ede2ec55c1f3f8c8 (patch) | |
| tree | 2e329cff5c720e94659027ad05b4f8336b3a6866 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | 219a9b5e738b75a6a5e9effe1d72f60037a2f131 (diff) | |
dm ioctl: replace device hash with red-black tree
For high numbers of DM devices the 64-entry hash table has non-trivial
overhead. Fix this by replacing the hash table with a red-black tree.
Reported-by: Zdenek Kabelac <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions