[PATCH v6 08/15] drm/rockchip: vop2: Consolidate HDMI PHY PLL clock parent switch
Daniel Stone
daniel at fooishbar.org
Thu Nov 5 06:33:54 PST 2026
Hi,
On Thu, 5 Nov 2026 at 12:56, Cristian Ciocaltea
<cristian.ciocaltea at collabora.com> wrote:
> On 11/5/26 2:18 PM, Daniel Stone wrote:
> > I'm confused ... if we have switched to the PHY for dclk, then a mode
> > switch wants us to come back to the CRU source, don't we need to
> > reparent to dclk_src?
>
> This is actually done in vop2_crtc_atomic_disable():
>
> if (vp->dclk_src)
> clk_set_parent(vp->dclk, vp->dclk_src);
>
> Mostly to ensure the PHY related resources are released when not in use, e.g.
> after unplugging the display.
Right you are, sorry I missed that one.
Reviewed-by: Daniel Stone <daniels at collabora.com>
Cheers,
Daniel
More information about the Linux-rockchip
mailing list