drm/i915: Use radixtree to jump start intel_partial_pages()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 12:58:34 +0000 (13:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 19:53:46 +0000 (20:53 +0100)
commitd2a84a76a3b970fa32e6eda3d85e7782f831379e
treeaff43928f224b92bec69dabb59527b74bdb72f29
parent96d776345277d81dc96e984f13d8f2b84ab0dee4
drm/i915: Use radixtree to jump start intel_partial_pages()

We can use the radixtree index of the obj->pages to find the start
position of the desired partial range.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161028125858.23563-11-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c