Re: [PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-17 Thread Matthew Brost
On Tue, Jun 17, 2025 at 09:37:28PM +0200, Thomas Hellström wrote: > On Tue, 2025-06-17 at 10:04 -0700, Matthew Brost wrote: > > On Tue, Jun 17, 2025 at 04:55:26PM +0200, Thomas Hellström wrote: > > > On Tue, 2025-06-17 at 20:17 +0530, Ghimiray, Himal Prasad wrote: > > > > > > > > > > > > On 17-06

Re: [PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-17 Thread Thomas Hellström
On Tue, 2025-06-17 at 10:04 -0700, Matthew Brost wrote: > On Tue, Jun 17, 2025 at 04:55:26PM +0200, Thomas Hellström wrote: > > On Tue, 2025-06-17 at 20:17 +0530, Ghimiray, Himal Prasad wrote: > > > > > > > > > On 17-06-2025 18:41, Thomas Hellström wrote: > > > > On Tue, 2025-06-17 at 18:25 +0530

Re: [PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-17 Thread Matthew Brost
On Tue, Jun 17, 2025 at 04:55:26PM +0200, Thomas Hellström wrote: > On Tue, 2025-06-17 at 20:17 +0530, Ghimiray, Himal Prasad wrote: > > > > > > On 17-06-2025 18:41, Thomas Hellström wrote: > > > On Tue, 2025-06-17 at 18:25 +0530, Ghimiray, Himal Prasad wrote: > > > > > > > > > > > > On 13-06-2

Re: [PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-17 Thread Thomas Hellström
On Tue, 2025-06-17 at 20:17 +0530, Ghimiray, Himal Prasad wrote: > > > On 17-06-2025 18:41, Thomas Hellström wrote: > > On Tue, 2025-06-17 at 18:25 +0530, Ghimiray, Himal Prasad wrote: > > > > > > > > > On 13-06-2025 19:32, Thomas Hellström wrote: > > > > From: Matthew Brost > > > > > > > > T

Re: [PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-17 Thread Ghimiray, Himal Prasad
On 17-06-2025 18:41, Thomas Hellström wrote: On Tue, 2025-06-17 at 18:25 +0530, Ghimiray, Himal Prasad wrote: On 13-06-2025 19:32, Thomas Hellström wrote: From: Matthew Brost The migration functionality and track-keeping of per-pagemap VRAM mapped to the CPU mm is not per GPU_vm, but rat

Re: [PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-17 Thread Thomas Hellström
On Tue, 2025-06-17 at 18:25 +0530, Ghimiray, Himal Prasad wrote: > > > On 13-06-2025 19:32, Thomas Hellström wrote: > > From: Matthew Brost > > > > The migration functionality and track-keeping of per-pagemap VRAM > > mapped to the CPU mm is not per GPU_vm, but rather per pagemap. > > This is a

Re: [PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-17 Thread Ghimiray, Himal Prasad
On 13-06-2025 19:32, Thomas Hellström wrote: From: Matthew Brost The migration functionality and track-keeping of per-pagemap VRAM mapped to the CPU mm is not per GPU_vm, but rather per pagemap. This is also reflected by the functions not needing the drm_gpusvm structures. So move to drm_pag

[PATCH v3 1/3] drm/gpusvm, drm/pagemap: Move migration functionality to drm_pagemap

2025-06-13 Thread Thomas Hellström
From: Matthew Brost The migration functionality and track-keeping of per-pagemap VRAM mapped to the CPU mm is not per GPU_vm, but rather per pagemap. This is also reflected by the functions not needing the drm_gpusvm structures. So move to drm_pagemap. With this, drm_gpusvm shouldn't really acce