OSDN Git Service

drm/i915/gtt: Reorder gen8 ppgtt free/clear/alloc
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Jul 2019 09:43:23 +0000 (10:43 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Jul 2019 11:22:30 +0000 (12:22 +0100)
commita9abea97856b47bb9a85d60b34461444cb9a2d1e
tree6fb37ebd040dd703361ed97a13a27d1e7bdb3c90
parent57a7e30546b2f8de4925406ff55eef11da05615b
drm/i915/gtt: Reorder gen8 ppgtt free/clear/alloc

In preparation for refactoring the free/clear/alloc, first move the code
around so that we can avoid forward declarations in the next set of
patches.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712094327.24437-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c