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

Matthew Auld matthew.auld at intel.com
Tue Nov 2 08:52:24 UTC 2021


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 at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list