Re: [PATCH v4 1/5] drm/gpusvm: Introduce devmem_only flag for allocation

2025-04-23 Thread Matthew Brost
On Tue, Apr 22, 2025 at 10:04:11AM -0700, Matthew Brost wrote: > From: Himal Prasad Ghimiray > > This commit adds a new flag, devmem_only, to the drm_gpusvm structure. The > purpose of this flag is to ensure that the get_pages function allocates > memory exclusively from the device's memory. If t

[PATCH v4 1/5] drm/gpusvm: Introduce devmem_only flag for allocation

2025-04-22 Thread Matthew Brost
From: Himal Prasad Ghimiray This commit adds a new flag, devmem_only, to the drm_gpusvm structure. The purpose of this flag is to ensure that the get_pages function allocates memory exclusively from the device's memory. If the allocation from device memory fails, the function will return an -EFAU