[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<TY3PR01MB1134676D5905B0AC0127955DC86A9A@TY3PR01MB11346.jpnprd01.prod.outlook.com>
Date: Fri, 19 Dec 2025 10:13:45 +0000
From: Biju Das <biju.das.jz@...renesas.com>
To: Adrián Larumbe <adrian.larumbe@...labora.com>
CC: biju.das.au <biju.das.au@...il.com>, Boris Brezillon
<boris.brezillon@...labora.com>, Rob Herring <robh@...nel.org>, Steven Price
<steven.price@....com>, 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>, Geert Uytterhoeven
<geert+renesas@...der.be>, magnus.damm <magnus.damm@...il.com>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-renesas-soc@...r.kernel.org" <linux-renesas-soc@...r.kernel.org>,
Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@...renesas.com>
Subject: RE: [PATCH] drm/panfrost: Add GPU_PM_RT support for RZ/G3E SoC
Hi Adrián Larumbe,
> -----Original Message-----
> From: Adrián Larumbe <adrian.larumbe@...labora.com>
> Sent: 19 December 2025 10:02
> Subject: Re: [PATCH] drm/panfrost: Add GPU_PM_RT support for RZ/G3E SoC
>
> Hi Biju,
>
> I'll be merging your patch. It'll be my first time as a Panfrost maintainer, so bear me with me while
> I become familiar with the process.
OK. Thanks.
FYI, I just use the below 4 commands based on the documentation to merge a patch after the initial dim setup.
=> ./maintainer-tools/dim update-branches
=> ./maintainer-tools/dim checkout drm-misc-next
=> curl xxx | ./maintainer-tools/dim apply-branch drm-misc-next
=> ./maintainer-tools/dim push-branch drm-misc-next
Cheers,
Biju
>
> Kind Regards,
> Adrian
>
> On 19.12.2025 09:49, Biju Das wrote:
> > Hi All,
> >
> > > -----Original Message-----
> > > From: Biju <biju.das.au@...il.com>
> > > Sent: 03 December 2025 12:51
> > > Subject: [PATCH] drm/panfrost: Add GPU_PM_RT support for RZ/G3E SoC
> > >
> > > From: Biju Das <biju.das.jz@...renesas.com>
> > >
> > > RZ/G3E SoC is embedded with Mali-G52 GPU system. The system hangs
> > > after STR in the following
> > > condition:
> > >
> > > STR -> Wakeup from STR -> Unload panfrost using 'modprobe -r panfrost'.
> > >
> > > Fix this issue by asserting/deasserting the reset during suspend/resume.
> > > Rename the variable allwinner_h616_data->default_pm_rt_data for data
> > > reuse and make it as generic GPU PM runtime data.
> > >
> > > Signed-off-by: Biju Das <biju.das.jz@...renesas.com>
> > > ---
> > > drivers/gpu/drm/panfrost/panfrost_drv.c | 5 +++--
> > > 1 file changed, 3 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c
> > > b/drivers/gpu/drm/panfrost/panfrost_drv.c
> > > index 7d8c7c337606..e553f183c780 100644
> > > --- a/drivers/gpu/drm/panfrost/panfrost_drv.c
> > > +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c
> > > @@ -976,7 +976,7 @@ static const struct panfrost_compatible default_data = {
> > > .pm_domain_names = NULL,
> > > };
> > >
> > > -static const struct panfrost_compatible allwinner_h616_data = {
> > > +static const struct panfrost_compatible default_pm_rt_data = {
> > > .num_supplies = ARRAY_SIZE(default_supplies) - 1,
> > > .supply_names = default_supplies,
> > > .num_pm_domains = 1,
> > > @@ -1056,6 +1056,7 @@ static const struct of_device_id dt_match[] = {
> > > .data = &amlogic_data, },
> > > { .compatible = "amlogic,meson-g12a-mali",
> > > .data = &amlogic_data, },
> > > + { .compatible = "renesas,r9a09g047-mali", .data =
> > > +&default_pm_rt_data },
> > > { .compatible = "arm,mali-t604", .data = &default_data, },
> > > { .compatible = "arm,mali-t624", .data = &default_data, },
> > > { .compatible = "arm,mali-t628", .data = &default_data, }, @@
> > > -1073,7 +1074,7 @@ static const struct of_device_id dt_match[] = {
> > > { .compatible = "mediatek,mt8188-mali", .data = &mediatek_mt8188_data },
> > > { .compatible = "mediatek,mt8192-mali", .data = &mediatek_mt8192_data },
> > > { .compatible = "mediatek,mt8370-mali", .data = &mediatek_mt8370_data },
> > > - { .compatible = "allwinner,sun50i-h616-mali", .data = &allwinner_h616_data },
> > > + { .compatible = "allwinner,sun50i-h616-mali", .data =
> > > +&default_pm_rt_data },
> > > {}
> > > };
> > > MODULE_DEVICE_TABLE(of, dt_match);
> > > --
> > > 2.43.0
> >
> > Gentle ping.
> >
> > Cheers,
> > Biju
Powered by blists - more mailing lists