aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2019-03-05 07:24:35 +0000
committerThomas Hellstrom <[email protected]>2019-06-18 13:19:35 +0000
commit86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4 (patch)
treef9c17d945a9a786981fd0f75e9777d7951ee5c4c /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentdrm/vmwgfx: Implement an infrastructure for write-coherent resources (diff)
downloadkernel-86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4.tar.gz
kernel-86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4.zip
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 <[email protected]> Reviewed-by: Deepak Rawat <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions