[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251015151255.6f314a11@fedora>
Date: Wed, 15 Oct 2025 15:12:55 +0200
From: Boris Brezillon <boris.brezillon@...labora.com>
To: Loïc Molinari <loic.molinari@...labora.com>
Cc: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard
<mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, David Airlie
<airlied@...il.com>, Simona Vetter <simona@...ll.ch>, Jani Nikula
<jani.nikula@...ux.intel.com>, Joonas Lahtinen
<joonas.lahtinen@...ux.intel.com>, Rodrigo Vivi <rodrigo.vivi@...el.com>,
Tvrtko Ursulin <tursulin@...ulin.net>, Rob Herring <robh@...nel.org>,
Steven Price <steven.price@....com>, Liviu Dudau <liviu.dudau@....com>,
Melissa Wen <mwen@...lia.com>, Maíra Canal
<mcanal@...lia.com>, Hugh Dickins <hughd@...gle.com>, Baolin Wang
<baolin.wang@...ux.alibaba.com>, Andrew Morton <akpm@...ux-foundation.org>,
Al Viro <viro@...iv.linux.org.uk>, Mikołaj Wasiak
<mikolaj.wasiak@...el.com>, Christian Brauner <brauner@...nel.org>, Nitin
Gote <nitin.r.gote@...el.com>, Andi Shyti <andi.shyti@...ux.intel.com>,
Christopher Healy <healych@...zon.com>, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, intel-gfx@...ts.freedesktop.org,
linux-mm@...ck.org, kernel@...labora.com
Subject: Re: [PATCH v3 07/10] drm/panthor: Introduce huge tmpfs mount point
option
On Wed, 15 Oct 2025 15:09:31 +0200
Loïc Molinari <loic.molinari@...labora.com> wrote:
> On 06/10/2025 09:28, Boris Brezillon wrote:
> > On Sat, 4 Oct 2025 11:30:50 +0200
> > Loïc Molinari <loic.molinari@...labora.com> wrote:
> >
> >> diff --git a/drivers/gpu/drm/panthor/panthor_drv.c b/drivers/gpu/drm/panthor/panthor_drv.c
> >> index fdbe89ef7f43..a2be3b904ca2 100644
> >> --- a/drivers/gpu/drm/panthor/panthor_drv.c
> >> +++ b/drivers/gpu/drm/panthor/panthor_drv.c
> >> @@ -1623,6 +1624,12 @@ static const struct drm_driver panthor_drm_driver = {
> >> #endif
> >> };
> >>
> >> +#ifdef CONFIG_TRANSPARENT_HUGEPAGE
> >> +bool panthor_transparent_hugepage;
> >> +module_param_named(transparent_hugepage, panthor_transparent_hugepage, bool, 0400);
> >> +MODULE_PARM_DESC(transparent_hugepage, "Use a dedicated tmpfs mount point with Transparent Hugepage enabled (false = default)");
> >
> > nit: I'd go for a slightly shorter name, like [panthor_]enable_thp.
>
> For v4, in order to be consistent with the "transparent_hugepage*"
> kernel parameters, I'd prefer to keep the "panthor.transparent_hugepage"
> (and "panfrost.transparent_hugepage") module parameter name
>
> I could keep the parameter name as is and change the variable name though.
Fair enough. Let's just keep things as they are in this version.
>
> > The patch is
> >
> > Reviewed-by: Boris Brezillon <boris.brezillon@...labora.com>
> >
> > regardless.
> >
Powered by blists - more mailing lists