drm/i915/ehl: Map MCC pins based on PHY, not port
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 12 Jul 2019 22:16:41 +0000 (15:16 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 15 Jul 2019 16:53:25 +0000 (09:53 -0700)
commit48cf0a1ec1701787945008c945aa35bb6cfacb70
tree4ee4462edff17c04c35cd58134cffc94d3c707e4
parent506927ec8bbbdd99261cec4cd28cd0fd54e02218
drm/i915/ehl: Map MCC pins based on PHY, not port

Now that we distinguish between phy and port(ddi), mcc_port_to_ddc_pin
should use the phy, not the DDI, for determining DDC pins.

We're only converting the MCC function at the moment since EHL is the
only platform that has configurations where port!=phy.

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712221641.21031-1-matthew.d.roper@intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.c