drm/i915/gt: Optimise aliasing-ppgtt allocations
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Jul 2020 19:01:11 +0000 (20:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Jul 2020 19:40:49 +0000 (20:40 +0100)
commitb297bde16c0fb0052e53aa0cfc2ea8ca6ef210aa
tree74774101e51aa9d5273c60a44304d7364767913a
parentf615cb6a8a42c5497b88fbf152f791a1699de9aa
drm/i915/gt: Optimise aliasing-ppgtt allocations

Since the aliasing-ppgtt remains the default for gen6/gen7, it is worth
optimising the ppgtt allocation for it. In this case, we do not need to
flush the GGTT page directories entries as they are fixed during setup.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200709190111.5492-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/gen6_ppgtt.c