Re: [Intel-gfx] [PATCH 3/3] drm/i915: Refactor .hpd_irq_setup() calls a bit

2020-10-12 Thread Imre Deak
On Tue, Oct 06, 2020 at 09:58:09PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add a small wrapper for .hpd_irq_setup() which does the > "do we even have the hook?" and "are display interrupts enabled?" > checks. > > Signed-off-by: Ville Syrjälä Reviewed-by: Imre Deak > --- > driv

[Intel-gfx] [PATCH 3/3] drm/i915: Refactor .hpd_irq_setup() calls a bit

2020-10-06 Thread Ville Syrjala
From: Ville Syrjälä Add a small wrapper for .hpd_irq_setup() which does the "do we even have the hook?" and "are display interrupts enabled?" checks. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_hotplug.c | 22 +++- 1 file changed, 12 insertions(+), 10 de