]> 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)
commitb1e4e9e5a21f4042addc85064a64a1d9d9a59f3d
tree32634b7637ef3cbd1aaaa7494891fcfbe1007885
parentf307369bc98bb467b39e06583c1204397ff4bdd0
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