Three fixes for the Innosilicon HDMI bridge, which the Rockchip RK3036 and RK3128 use and, with the series in [1], the StarFive JH7110.
Patch 1 fixes the HSYNC and VSYNC polarity bits, which are swapped. Patch 2 fixes a NULL pointer dereference when a hotplug interrupt arrives before the bridge is attached, by reporting hotplug through drm_bridge_hpd_notify(). That also keeps it safe against drm_bridge_detach() once the interrupt is requested in probe, as the JH7110 series does. Patch 3 stops the I2C core from trying to create an I2C client for the OF graph 'ports' node on every boot. Patches 1 and 2 were part of the JH7110 display series up to v8 [1], and are split out so they can land on their own. Patch 2 changed approach in v8 of that series, after a Sashiko finding on v7 patch 8, "Split probe out of bind" [2], showed that once the interrupt is requested in probe, checking bridge.dev races with drm_bridge_detach(). Heiko's Reviewed-by was dropped because of that. Testing on an RK3036 or RK3128 would be welcome; all three were tested on a StarFive VisionFive 2 with the JH7110 display series applied. [1] https://lore.kernel.org/all/[email protected]/ [2] https://lore.kernel.org/all/[email protected]/ --- Michal Wilczynski (3): drm/bridge: inno-hdmi: fix swapped HSYNC and VSYNC polarity drm/bridge: inno-hdmi: Report hotplug through drm_bridge_hpd_notify() drm/bridge: inno-hdmi: Don't give the DDC adapter an OF node drivers/gpu/drm/bridge/inno-hdmi.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) --- base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f change-id: 20261127-inno-hdmi-ddc-of-node-67ac9a88fe5b Best regards, -- Michal Wilczynski <[email protected]>
