From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
To: Linus Walleij <linusw@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Daniel Scally <dan.scally@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v4 4/5] arm64: dts: renesas: r9a09g057: Add IVC and ISP nodes
Date: Wed, 28 Oct 2026 10:28:04 +0100 [thread overview]
Message-ID: <auG_dr3VFeWaBxKw@zed> (raw)
In-Reply-To: <CAD++jL=0ak_CzxvLf14XntE-cZGFVN6ZpGtkZfTJ8ae0G+RR1A@mail.gmail.com>
On Wed, Oct 28, 2026 at 09:38:05AM +0100, Linus Walleij wrote:
> On Tue, Oct 27, 2026 at 7:39 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> > The driver uses Runtime PM, but I see no calls to
> > pm_runtime_resume_and_get()?
>
> It gets grabbed in *params.c and *stats.c:
>
pm_runtime_resume_and_get() is called in the .start_streaming handler
for all video nodes (capture, params and stats)
> linux/drivers/media/platform/arm/mali-c55$ git grep pm_runtime*
> mali-c55-capture.c:#include <linux/pm_runtime.h>
> mali-c55-capture.c: ret = pm_runtime_resume_and_get(mali_c55->dev);
> mali-c55-capture.c: pm_runtime_put_autosuspend(mali_c55->dev);
> mali-c55-capture.c: pm_runtime_put_autosuspend(mali_c55->dev);
> mali-c55-core.c:#include <linux/pm_runtime.h>
> mali-c55-core.c: SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
> mali-c55-core.c: pm_runtime_force_resume)
> mali-c55-core.c: pm_runtime_set_autosuspend_delay(&pdev->dev, 2000);
> mali-c55-core.c: pm_runtime_use_autosuspend(&pdev->dev);
> mali-c55-core.c: pm_runtime_set_active(&pdev->dev);
> mali-c55-core.c: pm_runtime_enable(&pdev->dev);
> mali-c55-core.c: goto err_pm_runtime_disable;
> mali-c55-core.c: pm_runtime_idle(&pdev->dev);
> mali-c55-core.c:err_pm_runtime_disable:
> mali-c55-core.c: pm_runtime_set_suspended(&pdev->dev);
> mali-c55-core.c: pm_runtime_disable(&pdev->dev);
> mali-c55-core.c: if (!pm_runtime_suspended(&pdev->dev)) {
> mali-c55-core.c: pm_runtime_set_suspended(&pdev->dev);
> mali-c55-core.c: pm_runtime_disable(&pdev->dev);
> mali-c55-params.c:#include <linux/pm_runtime.h>
> mali-c55-params.c: ret = pm_runtime_resume_and_get(mali_c55->dev);
> mali-c55-params.c: pm_runtime_put_autosuspend(mali_c55->dev);
> mali-c55-params.c: pm_runtime_put_autosuspend(params->mali_c55->dev);
> mali-c55-stats.c:#include <linux/pm_runtime.h>
> mali-c55-stats.c: ret = pm_runtime_resume_and_get(mali_c55->dev);
> mali-c55-stats.c: pm_runtime_put_autosuspend(mali_c55->dev);
> mali-c55-stats.c: pm_runtime_put_autosuspend(stats->mali_c55->dev);
> mali-c55-tpg.c:#include <linux/pm_runtime.h>
> mali-c55-tpg.c: if (!pm_runtime_get_if_in_use(mali_c55->dev))
> mali-c55-tpg.c: pm_runtime_put_autosuspend(mali_c55->dev);
>
> So are you saying these runpaths are not necessarily getting exercised,
They are when you start streaming on those video devices, if I got
what you mean here.
> so the reference doesn't go up on normal use cases?
>
> Yours,
> Linus Walleij
>
next prev parent reply other threads:[~2026-10-28 9:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 11:56 [PATCH v4 0/5] arm64: dts: renesas: Enable ISP and IVC on RZ/V2H EVK Linus Walleij
2026-10-12 11:56 ` [PATCH v4 1/5] dt-bindings: media: renesas,r9a09g057-ivc: Describe additional interrupts Linus Walleij
2026-10-12 11:56 ` [PATCH v4 2/5] dt-bindings: media: arm,mali-c55: Describe DMA line-tick interrupts Linus Walleij
2026-10-12 11:56 ` [PATCH v4 3/5] dt-bindings: media: arm,mali-c55: Add power domain Linus Walleij
2026-10-12 11:56 ` [PATCH v4 4/5] arm64: dts: renesas: r9a09g057: Add IVC and ISP nodes Linus Walleij
2026-10-12 15:39 ` Jacopo Mondi
2026-10-12 20:21 ` Lad, Prabhakar
2026-10-15 12:36 ` Linus Walleij
2026-10-19 10:23 ` Jacopo Mondi
2026-10-27 18:01 ` Linus Walleij
2026-10-27 18:39 ` Geert Uytterhoeven
2026-10-28 8:38 ` Linus Walleij
2026-10-28 9:28 ` Jacopo Mondi [this message]
2026-10-28 9:47 ` Geert Uytterhoeven
2026-10-28 14:53 ` Jacopo Mondi
2026-10-22 11:28 ` Lad, Prabhakar
2026-10-12 11:56 ` [PATCH v4 5/5] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add ISP and IVC nodes Linus Walleij
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=auG_dr3VFeWaBxKw@zed \
--to=jacopo.mondi@ideasonboard.com \
--cc=conor+dt@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.