Re: [Intel-gfx] [PATCH v2 1/2] drm/i915/ttm: Reorganize the ttm move code

Matthew Auld
2021-11-02T08:52:41Z

On 01/11/2021 18:38, Thomas Hellström wrote:
> We are about to introduce failsafe- and asynchronous migration and
> ttm moves.
> This will add complexity and code to the TTM move code so it makes sense
> to split it out to a separate file to make the i915 TTM code easer to
> digest.
> Split the i915 TTM move code out and since we will have to change the name
> of the gpu_binds_iomem() and cpu_maps_iomem() functions anyway,
> we alter the name of gpu_binds_iomem() to i915_ttm_gtt_binds_lmem() which
> is more reflecting what it is used for.
> With this we also add some more documentation. Otherwise there should be
> no functional change.
>
> Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>