[PATCH] drm/xe: Simplify pinned bo iteration

Matthew Auld matthew.auld at intel.com
Fri Mar 21 12:28:42 UTC 2025


On 21/03/2025 11:29, Thomas Hellström wrote:
> Introduce and use a helper to iterate over the various pinned bo lists.
> There are a couple of slight functional changes:
> 
> 1) GGTT maps are now performed with the bo locked.
> 2) If the per-bo callback fails, keep the bo on the original list.
> 
> Cc: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>

Ignoring the external_vram hunk,
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-xe mailing list