Re: [Intel-gfx] [PATCH 4/8] drm/i915: Nuke dev_priv->irq_port[]

2018-07-09 Thread Rodrigo Vivi
On Thu, Jul 05, 2018 at 07:43:53PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Instead of looping over ports and hpd_pins, let's loop over > the encoders when doing hotplug processing. And instead of > depending on dev_priv->irq_port[] to tell us whether the > encoder has the

[Intel-gfx] [PATCH 4/8] drm/i915: Nuke dev_priv->irq_port[]

2018-07-05 Thread Ville Syrjala
From: Ville Syrjälä Instead of looping over ports and hpd_pins, let's loop over the encoders when doing hotplug processing. And instead of depending on dev_priv->irq_port[] to tell us whether the encoder has the ->hpd_pulse() hook or not, we can just check for that directly. So we can just nuke