Re: [PATCH v2 24/29] drm/xe: Add SVM VRAM migration

2024-12-11 Thread Matthew Brost
On Mon, Dec 02, 2024 at 01:06:33PM +0100, Thomas Hellström wrote: > On Tue, 2024-10-15 at 20:25 -0700, Matthew Brost wrote: > > Migration is implemented with range granularity, with VRAM backing > > being > > a VM private TTM BO (i.e., shares dma-resv with VM). The lifetime of > > the > > TTM BO is

Re: [PATCH v2 24/29] drm/xe: Add SVM VRAM migration

2024-12-02 Thread Thomas Hellström
On Tue, 2024-10-15 at 20:25 -0700, Matthew Brost wrote: > Migration is implemented with range granularity, with VRAM backing > being > a VM private TTM BO (i.e., shares dma-resv with VM). The lifetime of > the > TTM BO is limited to when the SVM range is in VRAM (i.e., when a VRAM > SVM range is mi

[PATCH v2 24/29] drm/xe: Add SVM VRAM migration

2024-10-15 Thread Matthew Brost
Migration is implemented with range granularity, with VRAM backing being a VM private TTM BO (i.e., shares dma-resv with VM). The lifetime of the TTM BO is limited to when the SVM range is in VRAM (i.e., when a VRAM SVM range is migrated to SRAM, the TTM BO is destroyed). The design choice for usi