drm: Convert drm_vma_manager to embedded interval-tree in drm_mm
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Aug 2016 15:04:10 +0000 (16:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Aug 2016 08:05:17 +0000 (10:05 +0200)
commitdb2395eccf0829de5eb54625167f6cbc3faa1418
treec770dbc6900a54bb1593634333f7436ec70f8c70
parent202b52b7fbf70858609ec20829c7d69a13ffa351
drm: Convert drm_vma_manager to embedded interval-tree in drm_mm

Having added an interval-tree to struct drm_mm, we can replace the
auxiliary rb-tree inside the drm_vma_manager with it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1470236651-678-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_vma_manager.c
include/drm/drm_vma_manager.h