Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] drm/bridge: inno-hdmi: LIFO teardown inversion in atomic_disable() --
commit fa1076c5905c14ed22ffc675387f7daefd68b005 Author: Michal Wilczynski <[email protected]> drm/bridge: inno-hdmi: Add .disable platform operation This commit adds a .disable callback to struct inno_hdmi_plat_ops and invokes it in inno_hdmi_bridge_atomic_disable() for platform-specific power-down sequences. > diff --git a/drivers/gpu/drm/bridge/inno-hdmi.c > b/drivers/gpu/drm/bridge/inno-hdmi.c > index b1087f3e86a6a..556edb5282a78 100644 > --- a/drivers/gpu/drm/bridge/inno-hdmi.c > +++ b/drivers/gpu/drm/bridge/inno-hdmi.c > @@ -881,6 +881,10 @@ static void inno_hdmi_bridge_atomic_disable(struct > drm_bridge *bridge, > struct drm_atomic_commit *state) > { > struct inno_hdmi *hdmi = bridge_to_inno_hdmi(bridge); > + const struct inno_hdmi_plat_ops *plat_ops = hdmi->plat_data->ops; > + > + if (plat_ops && plat_ops->disable) > + plat_ops->disable(hdmi->dev); > > inno_hdmi_standby(hdmi); > } [Severity: Medium] Should inno_hdmi_standby(hdmi) run before plat_ops->disable(hdmi->dev)? On the enable path, inno_hdmi_setup() runs plat_ops->enable() in inno_hdmi_config_video_timing() before powering on the controller via inno_hdmi_power_up() -> inno_hdmi_sys_power(hdmi, true). Calling plat_ops->disable() first powers off the PHY and gates the pixel/TMDS clock while the controller is still active, and inno_hdmi_standby() then writes to HDMI_SYS_CTRL and the internal PHY registers after their TMDS clock source has been turned off. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=7
