[PATCH] drm/msm/dp: move link_ready out of HPD event thread

2024-03-08 Thread Abhinav Kumar
There are cases where the userspace might still send another frame after the HPD disconnect causing a modeset cycle after a disconnect. This messes the internal state machine of MSM DP driver and can lead to a crash as there can be an imbalance between bridge_disable() and bridge_enable(). This wa

Re: drm/msm: DisplayPort hard-reset on hotplug regression in 6.8-rc1

2024-03-08 Thread Abhinav Kumar
Hi Johan On 3/8/2024 4:43 AM, Johan Hovold wrote: Hi Abhinav, Rob, Dmitry and Kuogee, On Tue, Feb 27, 2024 at 02:33:48PM +0100, Johan Hovold wrote: Since 6.8-rc1 I have seen (and received reports) of hard resets of the Lenovo ThinkPad X13s after connecting and disconnecting an external displa

Re: drm/msm: DisplayPort hard-reset on hotplug regression in 6.8-rc1

2024-03-08 Thread Johan Hovold
Hi Abhinav, Rob, Dmitry and Kuogee, On Tue, Feb 27, 2024 at 02:33:48PM +0100, Johan Hovold wrote: > Since 6.8-rc1 I have seen (and received reports) of hard resets of the > Lenovo ThinkPad X13s after connecting and disconnecting an external > display. > > I have triggered this on a simple discon

Re: [PATCH RFC 3/6] drm/connector: hdmi: split setup code of the HDMI connector

2024-03-08 Thread Dmitry Baryshkov
On Fri, 8 Mar 2024 at 13:53, Maxime Ripard wrote: > > On Fri, Mar 08, 2024 at 12:52:04PM +0200, Dmitry Baryshkov wrote: > > On Fri, 8 Mar 2024 at 11:44, Maxime Ripard wrote: > > > > > > Hi Dmitry, > > > > > > Thanks a lot for working on that, it's greatly appreciated :) > > > > > > On Fri, Mar 08

Re: [PATCH RFC 3/6] drm/connector: hdmi: split setup code of the HDMI connector

2024-03-08 Thread Maxime Ripard
On Fri, Mar 08, 2024 at 12:52:04PM +0200, Dmitry Baryshkov wrote: > On Fri, 8 Mar 2024 at 11:44, Maxime Ripard wrote: > > > > Hi Dmitry, > > > > Thanks a lot for working on that, it's greatly appreciated :) > > > > On Fri, Mar 08, 2024 at 01:57:02AM +0200, Dmitry Baryshkov wrote: > > > In order to

Re: [PATCH RFC 3/6] drm/connector: hdmi: split setup code of the HDMI connector

2024-03-08 Thread Dmitry Baryshkov
On Fri, 8 Mar 2024 at 11:44, Maxime Ripard wrote: > > Hi Dmitry, > > Thanks a lot for working on that, it's greatly appreciated :) > > On Fri, Mar 08, 2024 at 01:57:02AM +0200, Dmitry Baryshkov wrote: > > In order to use HDMI connector extensions from the bridge drivers, carve > > out the drm_conn

Re: [PATCH RFC 3/6] drm/connector: hdmi: split setup code of the HDMI connector

2024-03-08 Thread Maxime Ripard
Hi Dmitry, Thanks a lot for working on that, it's greatly appreciated :) On Fri, Mar 08, 2024 at 01:57:02AM +0200, Dmitry Baryshkov wrote: > In order to use HDMI connector extensions from the bridge drivers, carve > out the drm_connector_hdmi_setup() from drmm_connector_hdmi_init(). This > way th