Re: [PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-23 Thread Imre Deak
On Thu, May 23, 2024 at 04:58:38PM +0300, Ville Syrjälä wrote: > On Thu, May 23, 2024 at 04:46:30PM +0300, Imre Deak wrote: > > On Thu, May 23, 2024 at 04:30:18PM +0300, Ville Syrjälä wrote: > > > On Mon, May 20, 2024 at 09:58:05PM +0300, Imre Deak wrote: > > > > Recheck the link state after a pass

Re: [PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-23 Thread Ville Syrjälä
On Thu, May 23, 2024 at 04:46:30PM +0300, Imre Deak wrote: > On Thu, May 23, 2024 at 04:30:18PM +0300, Ville Syrjälä wrote: > > On Mon, May 20, 2024 at 09:58:05PM +0300, Imre Deak wrote: > > > Recheck the link state after a passing link training, with a 2 sec delay > > > to account for cases where

Re: [PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-23 Thread Imre Deak
On Thu, May 23, 2024 at 04:30:18PM +0300, Ville Syrjälä wrote: > On Mon, May 20, 2024 at 09:58:05PM +0300, Imre Deak wrote: > > Recheck the link state after a passing link training, with a 2 sec delay > > to account for cases where the link goes bad following the link training > > and the sink does

Re: [PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-23 Thread Ville Syrjälä
On Mon, May 20, 2024 at 09:58:05PM +0300, Imre Deak wrote: > Recheck the link state after a passing link training, with a 2 sec delay > to account for cases where the link goes bad following the link training > and the sink doesn't report this via an HPD IRQ. > > The delayed work added here will b

Re: [PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-23 Thread Ville Syrjälä
On Thu, May 23, 2024 at 04:23:44PM +0300, Ville Syrjälä wrote: > On Wed, May 22, 2024 at 04:38:54PM +0300, Imre Deak wrote: > > On Mon, May 20, 2024 at 09:58:05PM +0300, Imre Deak wrote: > > > [...] > > > +static void intel_ddi_link_check_work_fn(struct work_struct *work) > > > +{ > > > + struct in

Re: [PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-23 Thread Ville Syrjälä
On Wed, May 22, 2024 at 04:38:54PM +0300, Imre Deak wrote: > On Mon, May 20, 2024 at 09:58:05PM +0300, Imre Deak wrote: > > [...] > > +static void intel_ddi_link_check_work_fn(struct work_struct *work) > > +{ > > + struct intel_digital_port *dig_port = > > + container_of(work, typeof(*d

Re: [PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-22 Thread Imre Deak
On Mon, May 20, 2024 at 09:58:05PM +0300, Imre Deak wrote: > [...] > +static void intel_ddi_link_check_work_fn(struct work_struct *work) > +{ > + struct intel_digital_port *dig_port = > + container_of(work, typeof(*dig_port), check_link_work.work); > + struct intel_encoder *enco

[PATCH v2 07/21] drm/i915/dp: Recheck link state after modeset

2024-05-20 Thread Imre Deak
Recheck the link state after a passing link training, with a 2 sec delay to account for cases where the link goes bad following the link training and the sink doesn't report this via an HPD IRQ. The delayed work added here will be also used by a later patch after a failed link training to try to r