diff options
author | Thomas Hellstrom <[email protected]> | 2019-03-05 08:24:35 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2019-11-06 13:30:27 +0100 |
commit | 61335d7a5a2d26173160198f5257bea072dfe086 (patch) | |
tree | e27b26997552e188ad5c83411519d1c7af4e9507 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | b7468b15d27106d24fb30d543d1fbbc6756ae7ca (diff) |
drm/vmwgfx: Use an RBtree instead of linked list for MOB resources
With emulated coherent memory we need to be able to quickly look up
a resource from the MOB offset. Instead of traversing a linked list with
O(n) worst case, use an RBtree with O(log n) worst case complexity.
Cc: Andrew Morton <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Huang Ying <[email protected]>
Cc: Jérôme Glisse <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Deepak Rawat <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions