[PATCH v5 3/4] drm/bridge: microchip-lvds: add atomic pre_enable() and post_disable()
Maxime Ripard
mripard at kernel.org
Wed Jun 25 06:57:24 UTC 2025
On Wed, Jun 25, 2025 at 10:26:11AM +0530, Dharma Balasubiramani wrote:
> pm_runtime_get_sync() and clk_prepare_enable() must be outside the atomic
> context, hence move the sleepable operations accordingly.
>
> - atomic_pre_enable() handles pm_runtime and clock preparation
> - atomic_enable() enables the serializer based on panel format
> - atomic_disable() turns off the serializer
> - atomic_post_disable() disables clock and releases runtime PM
>
> Signed-off-by: Dharma Balasubiramani <dharma.b at microchip.com>
If that's the reason you wanted to split the enable and disable hooks in
two, you don't need to. You can sleep in any context here.
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250625/1061b380/attachment.sig>
More information about the dri-devel
mailing list