[PATCH v2 1/3] drm/bridge: analogix_dp: Check runtime resume before accessing hardware

Damon Ding damon.ding at rock-chips.com
Mon Nov 30 04:00:13 PST 2026


Hi Nikita,

On 11/25/2026 11:39 PM, Nikita Zhandarovich wrote:
> Check runtime resume before continuing with the bridge's initialization
> or accessing AUX registers. A failed resume may leave the controller
> clock disabled.
> 
> Therefore, use pm_runtime_resume_and_get() so that an error return
> does not retain a runtime-PM usage reference.
> 
> Fixes: 3424e3a4f844 ("drm: bridge: analogix/dp: split exynos dp driver to bridge directory")
> Fixes: 8fb6c44fe846 ("drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX")
> Fixes: c8f0b7cb01ea ("drm/bridge: analogix_dp: Add support for &drm_dp_aux.wait_hpd_asserted()")
> Signed-off-by: Nikita Zhandarovich <n.zhandarovich at fintech.ru>
> ---
> v1 -> v2: no code changes since v1.
> 

I rebased this on top of my v8 HPD support patch series and it
works well:

Tested-by: Damon Ding <damon.ding at rock-chips.com>
Reviewed-by: Damon Ding <damon.ding at rock-chips.com>

Best regards,
Damon




More information about the Linux-rockchip mailing list