On Wed, 26 Mar 2025 02:14:23 +
Adrián Larumbe wrote:
> Add a new function that lets drivers allocate pages for a subset of the
> shmem object's virtual address range, and another function for obtaining
> an SG table from those pages, so that memory can be mapped onto an MMU.
>
> Add also a n
On 3/26/25 05:14, Adrián Larumbe wrote:
> +static struct sg_table *
> +drm_gem_shmem_sparse_get_sgt_range(struct drm_gem_shmem_object *shmem,
> +unsigned int n_pages, pgoff_t page_offset,
> +gfp_t gfp)
> +{
> + struct drm_gem_objec
Add a new function that lets drivers allocate pages for a subset of the
shmem object's virtual address range, and another function for obtaining
an SG table from those pages, so that memory can be mapped onto an MMU.
Add also a new function for putting the pages of a sparse page array.
The sparse