drm/i915/gt: Add a routine to iterate over the pagetables of a GTT
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 Jun 2021 06:30:11 +0000 (08:30 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 17 Jun 2021 13:23:03 +0000 (14:23 +0100)
commit3607e1e9ba7553e39b175fa14d10a48677083607
tree1f7c8b99f49e02889401c737b182510f55dd43df
parent0dcd6fdf3b4be20995d8d35198ac252833613ab9
drm/i915/gt: Add a routine to iterate over the pagetables of a GTT

In the next patch, we will want to look at the dma addresses of
individual page tables, so add a routine to iterate over them.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210617063018.92802-6-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/gt/gen8_ppgtt.c
drivers/gpu/drm/i915/gt/intel_gtt.h