From: Biju Das <biju.das.jz@bp.renesas.com>
To: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>
Cc: "dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Tommaso Merciai <tomm.merciai@gmail.com>
Subject: RE: [PATCH] drm: renesas: rz-du: Add suspend/resume support
Date: Wed, 18 Nov 2026 11:17:34 +0000 [thread overview]
Message-ID: <TYYPR01MB6603741389AFAC2EABB42480867A2@TYYPR01MB6603.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <20261112-b4-tm-pm-du-v1-1-507474331137@bp.renesas.com>
> -----Original Message-----
> From: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
> Sent: 12 November 2026 08:25
> Subject: [PATCH] drm: renesas: rz-du: Add suspend/resume support
>
> Add suspend/resume support to the RZ/G2L DU driver.
>
> Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Cheers,
Biju
> ---
> drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c b/drivers/gpu/drm/renesas/rz-
> du/rzg2l_du_drv.c
> index 6c2dc86abc7d..c7d71dd9198e 100644
> --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c
> +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c
> @@ -140,6 +140,27 @@ static const struct drm_driver rzg2l_du_driver = {
> .minor = 0,
> };
>
> +/*
> +-----------------------------------------------------------------------
> +------
> + * Power management
> + */
> +
> +static int rzg2l_du_pm_suspend(struct device *dev) {
> + struct rzg2l_du_device *rcdu = dev_get_drvdata(dev);
> +
> + return drm_mode_config_helper_suspend(&rcdu->ddev);
> +}
> +
> +static int rzg2l_du_pm_resume(struct device *dev) {
> + struct rzg2l_du_device *rcdu = dev_get_drvdata(dev);
> +
> + return drm_mode_config_helper_resume(&rcdu->ddev);
> +}
> +
> +static DEFINE_SIMPLE_DEV_PM_OPS(rzg2l_du_pm_ops,
> + rzg2l_du_pm_suspend, rzg2l_du_pm_resume);
> +
> /* -----------------------------------------------------------------------------
> * Platform driver
> */
> @@ -227,6 +248,7 @@ static struct platform_driver rzg2l_du_platform_driver = {
> .remove = rzg2l_du_remove,
> .shutdown = rzg2l_du_shutdown,
> .driver = {
> + .pm = pm_sleep_ptr(&rzg2l_du_pm_ops),
> .name = "rzg2l-du",
> .of_match_table = rzg2l_du_of_table,
> },
>
> ---
> base-commit: 630059a5a632377b9b7b487baccde92b7ae1dd47
> change-id: 20261112-b4-tm-pm-du-edc079c59a9f
>
> Best regards,
> --
> Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
next prev parent reply other threads:[~2026-11-18 11:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 8:24 Tommaso Merciai
2026-11-17 15:12 ` Geert Uytterhoeven
2026-11-17 15:30 ` Tommaso Merciai
2026-11-17 15:37 ` Geert Uytterhoeven
2026-11-17 15:43 ` Tommaso Merciai
2026-11-18 11:17 ` Biju Das [this message]
2026-11-18 11:34 ` Biju Das
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TYYPR01MB6603741389AFAC2EABB42480867A2@TYYPR01MB6603.jpnprd01.prod.outlook.com \
--to=biju.das.jz@bp.renesas.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tomm.merciai@gmail.com \
--cc=tommaso.merciai.xr@bp.renesas.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®