]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/i915: abstract away platform specific parts from hpd handling
authorJani Nikula <jani.nikula@intel.com>
Thu, 28 May 2015 12:43:53 +0000 (15:43 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:31 +0000 (10:15 +0200)
commit676574dffa4d67ff4e8b2ec796eb9f41aad925d8
tree99d7dc04697c0059096768aceebacb8b3cd94cdf
parentc8727233aa80cdf54e3460ac5ebc93c05b09ff5d
drm/i915: abstract away platform specific parts from hpd handling

Split intel_hpd_irq_handler into platforms specific and platform
agnostic parts. The platform specific parts decode the registers into
information about which hpd pins triggered, and if they were long
pulses. The platform agnostic parts do further processing, such as
interrupt storm mitigation and scheduling bottom halves.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c