drm/i915: Simplify hpd pin to port
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 11 Aug 2017 18:26:49 +0000 (11:26 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 11 Aug 2017 18:53:31 +0000 (11:53 -0700)
commit256cfdde42c0f8f74d417875f71ea864e686917b
tree246a7daa32cc34d308a2702c1e156271a2e4788d
parentc1b56c52aa3c38982b801a36f9b7de96077579f4
drm/i915: Simplify hpd pin to port

We will soon need to make that pin port association per
platform, so let's try to simplify it beforehand.

Also we are moving the backwards port to pin
here as well so let's use a standardized way.

One extra possibility here would be to add a
MISSING_CASE along with PORT_NONE, but I don't want
to change this behaviour for now.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170811182650.14327-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_hotplug.c