Re: [PATCH v2 16/29] drm/xe: Add migrate layer functions for SVM support

2024-12-11 Thread Matthew Brost
On Wed, Nov 20, 2024 at 09:04:20AM +0100, Thomas Hellström wrote: > On Tue, 2024-11-19 at 15:08 -0800, Matthew Brost wrote: > > On Tue, Nov 19, 2024 at 05:45:27PM +0100, Thomas Hellström wrote: > > > On Tue, 2024-10-15 at 20:25 -0700, Matthew Brost wrote: > > > > Add functions which migrate to / fr

Re: [PATCH v2 16/29] drm/xe: Add migrate layer functions for SVM support

2024-11-20 Thread Thomas Hellström
On Tue, 2024-11-19 at 15:08 -0800, Matthew Brost wrote: > On Tue, Nov 19, 2024 at 05:45:27PM +0100, Thomas Hellström wrote: > > On Tue, 2024-10-15 at 20:25 -0700, Matthew Brost wrote: > > > Add functions which migrate to / from VRAM accepting a single DPA > > > argument (VRAM) and array of dma addr

Re: [PATCH v2 16/29] drm/xe: Add migrate layer functions for SVM support

2024-11-19 Thread Matthew Brost
On Tue, Nov 19, 2024 at 05:45:27PM +0100, Thomas Hellström wrote: > On Tue, 2024-10-15 at 20:25 -0700, Matthew Brost wrote: > > Add functions which migrate to / from VRAM accepting a single DPA > > argument (VRAM) and array of dma addresses (SRAM). > > > > v2: > >  - Don't unlock job_mutex in erro

Re: [PATCH v2 16/29] drm/xe: Add migrate layer functions for SVM support

2024-11-19 Thread Thomas Hellström
On Tue, 2024-10-15 at 20:25 -0700, Matthew Brost wrote: > Add functions which migrate to / from VRAM accepting a single DPA > argument (VRAM) and array of dma addresses (SRAM). > > v2: >  - Don't unlock job_mutex in error path of xe_migrate_vram > > Signed-off-by: Oak Zeng > Signed-off-by: Matth

[PATCH v2 16/29] drm/xe: Add migrate layer functions for SVM support

2024-10-15 Thread Matthew Brost
Add functions which migrate to / from VRAM accepting a single DPA argument (VRAM) and array of dma addresses (SRAM). v2: - Don't unlock job_mutex in error path of xe_migrate_vram Signed-off-by: Oak Zeng Signed-off-by: Matthew Brost --- drivers/gpu/drm/xe/xe_migrate.c | 149 +++