[PATCH 00/14] improve Analogix DP AUX channel handling
Heiko Stübner
heiko at sntech.de
Mon Jun 10 12:47:33 UTC 2024
Am Freitag, 3. Mai 2024, 17:11:15 CEST schrieb Lucas Stach:
> Currently the AUX channel support in the Analogix DP driver is severely
> limited as the AUX block of the bridge is only initialized when the video
> link is to be enabled. This is okay for the purposes of link training,
> but does not allow to detect displays by probing for EDID. This series
> reworks the driver to allow AUX transactions before the video link is
> active.
>
> As this requires to rework some of the controller initialization and
> also handling of both internal and external clocks, the series includes
> quite a few changes to add better runtime PM handling.
>
> Lucas Stach (14):
> drm/bridge: analogix_dp: remove unused platform power_on_end callback
> drm/rockchip: analogix_dp: add runtime PM handling
> drm/bridge: analogix_dp: register AUX bus after enabling runtime PM
> drm/bridge: analogix_dp: handle clock via runtime PM
> drm/bridge: analogix_dp: remove unused analogix_dp_remove
> drm/bridge: analogix_dp: remove clk handling from
> analogix_dp_set_bridge
> drm/bridge: analogix_dp: move platform and PHY power handling into
> runtime PM
> drm/bridge: analogix_dp: move basic controller init into runtime PM
> drm/bridge: analogix_dp: remove PLL lock check from
> analogix_dp_config_video
> drm/bridge: analogix_dp: move macro reset after link bandwidth setting
> drm/bridge: analogix_dp: don't wait for PLL lock too early
> drm/bridge: analogix_dp: simplify and correct PLL lock checks
> drm/bridge: analogix_dp: only read AUX status when an error occured
> drm/bridge: analogix_dp: handle AUX transfer timeouts
my knowledge of Analgix-dp internals is limited, but at least both
rk3288-veyron and rk3399 gru still had working displays with this series
applied and both device classes using the analogix-dp for their main
display.
So on rk3288-veyron and rk3399-gru
Tested-by: Heiko Stuebner <heiko at sntech.de>
More information about the dri-devel
mailing list