[Intel-xe] [PATCH v2 23/31] drm/gpuva: Add support for extobj

Thomas Hellström thomas.hellstrom at linux.intel.com
Thu May 11 09:35:43 UTC 2023


On 5/2/23 02:17, Matthew Brost wrote:
> Manager maintains lists of GPUVA with extobjs.
>
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> ---
>   drivers/gpu/drm/drm_gpuva_mgr.c  | 45 +++++++++++++--
>   drivers/gpu/drm/xe/xe_exec.c     | 24 ++++----
>   drivers/gpu/drm/xe/xe_vm.c       | 99 +++++---------------------------
>   drivers/gpu/drm/xe/xe_vm.h       |  3 -
>   drivers/gpu/drm/xe/xe_vm_types.h | 16 ------
>   include/drm/drm_gpuva_mgr.h      | 39 ++++++++++++-
>   6 files changed, 105 insertions(+), 121 deletions(-)

Please make a separate series with elaborate commit message and if 
possible, split the drm and xe parts.

Also it seems the handling of multiple vmas in a single vm pointing to 
the same extobj.

There is a bug in xe that I introduced that also forgets about that, but 
IIRC only on vma removal.

/Thomas




More information about the Intel-xe mailing list