Re: [PATCH v9 07/11] drm/gem: Get rid of *_with_mnt helpers
From: Boris Brezillon
Date: Fri Nov 14 2025 - 12:15:48 EST
On Fri, 14 Nov 2025 18:02:58 +0100
Loïc Molinari <loic.molinari@xxxxxxxxxxxxx> wrote:
> diff --git a/drivers/gpu/drm/v3d/v3d_bo.c b/drivers/gpu/drm/v3d/v3d_bo.c
> index 211578abf9b6..c4316b768b3d 100644
> --- a/drivers/gpu/drm/v3d/v3d_bo.c
> +++ b/drivers/gpu/drm/v3d/v3d_bo.c
> @@ -153,12 +153,7 @@ struct v3d_bo *v3d_bo_create(struct drm_device *dev, struct drm_file *file_priv,
> struct v3d_bo *bo;
> int ret;
>
> -#ifdef CONFIG_TRANSPARENT_HUGEPAGE
> - shmem_obj = drm_gem_shmem_create_with_mnt(dev, unaligned_size,
> - dev->huge_mnt);
> -#else
> shmem_obj = drm_gem_shmem_create(dev, unaligned_size);
> -#endif
Hm, okay, the thing I complained about in patch 6 is dropped here. If
there's nothing else to address, don't bother sending a new version
just for that.
> if (IS_ERR(shmem_obj))
> return ERR_CAST(shmem_obj);
> bo = to_v3d_bo(&shmem_obj->base);