commit | 4c2be3c5ebfd98fc588f6bc5f53fa2ef516c02ea | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jul 12 12:27:23 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jul 12 19:40:43 2019 +0100 |
tree | 4caa7bfd58330ff293f90cf89199580e09acac83 | |
parent | 1eda701eace2ddac0f2e2e7176ff6b504e815453 [diff] |
drm/i915/gtt: Recursive ppgtt clear for gen8 With an explicit level, we can refactor the separate clear functions as a simple recursive function. The additional knowledge of the level allows us to spot when we can free an entire subtree at once. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190712112725.2892-3-chris@chris-wilson.co.uk