drm/i915: Future-proof DDC pin mapping
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 18 Sep 2019 23:56:25 +0000 (16:56 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 19 Sep 2019 15:19:41 +0000 (08:19 -0700)
commitb01a3ef34816461c31711e5559663e453cb83aba
treed36d7a105c7a559bafc17ca5d056f34e72b55de8
parenta47e788c2310a59b8e42e0bfc18d810118dff7bf
drm/i915: Future-proof DDC pin mapping

We generally assume future platforms will inherit the behavior of the
most recent platforms, so update our DDC pin mapping defaults to match
how ICP/TGP behave (i.e., pins starting from GMBUS_PIN_1_BXT for combo
PHY's and pins starting from GMBUS_PIN_9_TC1_ICP for TC PHY's).  MCC's
non-standard handling of combo PHY C seems like a platform-specific
quirk that is unlikely to be duplicated on future platforms, so continue
handling it as a special case.

Without this change, future platforms would default to gen4-style pin
mapping which is almost certainly not what we'll want.

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/20190918235626.3750-1-matthew.d.roper@intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.c