Re: [PATCH] drm: Fix output poll work for drm_kms_helper_poll=n

2024-03-04 Thread Imre Deak
On Sat, Mar 02, 2024 at 12:55:48PM +0300, Dmitry Baryshkov wrote: > On Fri, 1 Mar 2024 at 18:22, Imre Deak wrote: > > > > If drm_kms_helper_poll=n the output poll work will only get scheduled > > from drm_helper_probe_single_connector_modes() to handle a delayed > > hotplug event. Since polling is

Re: [PATCH] drm: Fix output poll work for drm_kms_helper_poll=n

2024-03-02 Thread Dmitry Baryshkov
On Fri, 1 Mar 2024 at 18:22, Imre Deak wrote: > > If drm_kms_helper_poll=n the output poll work will only get scheduled > from drm_helper_probe_single_connector_modes() to handle a delayed > hotplug event. Since polling is disabled the work in this case should > just call drm_kms_helper_hotplug_ev

[PATCH] drm: Fix output poll work for drm_kms_helper_poll=n

2024-03-01 Thread Imre Deak
If drm_kms_helper_poll=n the output poll work will only get scheduled from drm_helper_probe_single_connector_modes() to handle a delayed hotplug event. Since polling is disabled the work in this case should just call drm_kms_helper_hotplug_event() w/o detecting the state of connectors and reschedul