]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clarify flow for disabling IRQs on storms
authorLyude Paul <lyude@redhat.com>
Tue, 6 Nov 2018 21:30:15 +0000 (16:30 -0500)
committerLyude Paul <lyude@redhat.com>
Wed, 7 Nov 2018 20:11:44 +0000 (15:11 -0500)
commit29fd5ac469d297cc51cf560850e13974bd71a557
tree32634b7637ef3cbd1aaaa7494891fcfbe1007885
parent06e0ee9150f65b3d1cdcd935bea45a20fb48f845
drm/i915: Clarify flow for disabling IRQs on storms

This is rather confusing to look at as-is:
dev_priv->display.hpd_irq_setup(dev_priv); in intel_hpd_irq_handler()
handles disabling the actual HPD IRQ, while
intel_hpd_irq_storm_disable() handles moving the HPD pin state over from
MARK_DISABLED to DISABLED along with enabling polling for it.

Changes since v3:
- Rename i915_hpd_irq_storm_disable() to
  i915_hpd_irq_storm_switch_to_polling() - Rodrigo Vivi

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181106213017.14563-5-lyude@redhat.com
drivers/gpu/drm/i915/intel_hotplug.c