[PATCH v6 03/15] drm/rockchip: vop2: Disable core clocks before dropping runtime PM reference

Daniel Stone daniel at fooishbar.org
Thu Nov 5 03:43:40 PST 2026


On Thu, 5 Nov 2026 at 01:01, Cristian Ciocaltea
<cristian.ciocaltea at collabora.com> wrote:
> vop2_enable() acquires the runtime PM reference before enabling the core
> clocks, and its error path releases them in the reverse order.  However,
> vop2_disable() drops the runtime PM reference first, potentially
> powering off the VOP power domain while the core clocks are still
> running.
>
> Make the teardown mirror the bring-up sequence by disabling the core
> clocks before calling pm_runtime_put_sync().

Reviewed-by: Daniel Stone <daniels at collabora.com>



More information about the Linux-rockchip mailing list