diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2019-03-05 08:24:35 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2019-06-18 15:19:35 +0200 |
commit | 86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4 (patch) | |
tree | f9c17d945a9a786981fd0f75e9777d7951ee5c4c /drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h | |
parent | 93392217066d9fb5f05188d05afa9ea56829a61c (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.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h')
0 files changed, 0 insertions, 0 deletions