drm/i915: don't use HPD_PORT_A as an alias for HPD_NONE
authorImre Deak <imre.deak@intel.com>
Tue, 21 Jul 2015 22:32:45 +0000 (15:32 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Jul 2015 08:44:51 +0000 (10:44 +0200)
commitcc24fcdcea74844145f0f7683d4626be27dec221
tree88a7236a26793b1666c1a54398e81e458e34c927
parentfd63e2a972c670887e5e8a08440111d3812c0996
drm/i915: don't use HPD_PORT_A as an alias for HPD_NONE

Currently HPD_PORT_A is used as an alias for HPD_NONE to mean that the
given port doesn't support long/short HPD pulse detection. SDVO and CRT
ports are like this and for these ports we only want to know whether an
hot plug event was detected on the corresponding pin. Since at least on
BXT we need long/short pulse detection on PORT A as well (added by the
next patch) remove this aliasing of HPD_PORT_A/HPD_NONE and let the
return value of intel_hpd_pin_to_port() show whether long/short pulse
detection is supported on the passed in pin.

No functional change.

v2:
- rebase on top of -nightly (Daniel)
- make the check for intel_hpd_pin_to_port() return value more readable
  (Sivakumar)

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_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_hotplug.c
This page took 0.027367 seconds and 5 git commands to generate.