Re: [PATCH] drm/bridge: anx7625: Drop device lock before drm_helper_hpd_irq_event()

2023-02-16 Thread NĂ­colas F . R . A . Prado
Hi, On Mon, Jan 16, 2023 at 03:22:34PM +0800, Chen-Yu Tsai wrote: > The device lock is used to serialize the low level power sequencing > operations. Since drm_helper_hpd_irq_event() could end up calling > .atomic_enable, which also calls power sequencing functions through > runtime PM, this

[PATCH] drm/bridge: anx7625: Drop device lock before drm_helper_hpd_irq_event()

2023-01-15 Thread Chen-Yu Tsai
The device lock is used to serialize the low level power sequencing operations. Since drm_helper_hpd_irq_event() could end up calling .atomic_enable, which also calls power sequencing functions through runtime PM, this results in a real deadlock. This was observed on an MT8192-based Chromebook's