]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42028a4d9b3a134ea4efa07e64bdb76451dae30b
tree1f7c8b99f49e02889401c737b182510f55dd43df
parente37135b0cc202f7d922c04739f299f4cef2b64d7
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