[PATCH v2 2/7] drm: rcar-du: lvds: Add runtime PM

Geert Uytterhoeven geert at linux-m68k.org
Mon Jan 23 14:31:52 UTC 2023


Hi Laurent,

On Fri, Jan 20, 2023 at 5:16 PM Laurent Pinchart
<laurent.pinchart at ideasonboard.com> wrote:
> On Fri, Jan 20, 2023 at 10:50:04AM +0200, Tomi Valkeinen wrote:
> > Add simple runtime PM suspend and resume functionality.
>
> I think you need to depend on PM in Kconfig. That's not a compile-time
> dependency but a runtime-dependency, with runtime PM support the
> suspend/resume handler will never be called.

While technically that is correct, you'll have a hard time getting here
with CONFIG_PM=n, as both ARCH_RCAR_GEN2 and ARCH_RCAR_GEN3
do select PM.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the dri-devel mailing list