Re: [Intel-gfx] [PATCH] drm/i915: Reduce duplicated switch cases in hpd code

2020-12-04 Thread Lucas De Marchi
On Fri, Dec 4, 2020 at 10:23 AM Ville Syrjala wrote: > > From: Ville Syrjälä > > With GEN11_HOTPLUG_CTL_LONG_DETECT(), SHOTPLUG_CTL_DDI_HPD_LONG_DETECT() > and ICP_TC_HPD_LONG_DETECT() taking the hpd_pin as their argument > we can remove some duplication in the long_detect() switch statements. >

[Intel-gfx] [PATCH] drm/i915: Reduce duplicated switch cases in hpd code

2020-12-04 Thread Ville Syrjala
From: Ville Syrjälä With GEN11_HOTPLUG_CTL_LONG_DETECT(), SHOTPLUG_CTL_DDI_HPD_LONG_DETECT() and ICP_TC_HPD_LONG_DETECT() taking the hpd_pin as their argument we can remove some duplication in the long_detect() switch statements. Signed-off-by: Ville Syrjälä ---