]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit573422f8297f533a8dca27717be162f4043ef7c0
tree74774101e51aa9d5273c60a44304d7364767913a
parentdfd94859895f8d6093bd7c635dbcad64160336ea
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