drm/i915: combine i9xx_get_hpd_pins and pch_get_hpd_pins
authorImre Deak <imre.deak@intel.com>
Tue, 21 Jul 2015 22:32:44 +0000 (15:32 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Jul 2015 08:44:28 +0000 (10:44 +0200)
commitfd63e2a972c670887e5e8a08440111d3812c0996
tree49267e45282bb60f4324d5f74a161dad79c85f66
parentb8bb08ec48fb4eafefbc7899b50ec5c6216465b1
drm/i915: combine i9xx_get_hpd_pins and pch_get_hpd_pins

These functions are quite similar, so combine them with the use of a new
argument for a function that detects long pulses. This will be also
needed by an upcoming patch adding support for BXT long pulse detection.

No functional change.

v2:
- rebase on top -nightly (Daniel)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Sonika Jindal <sonika.jindal@intel.com>
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c