]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/rkl: Update TGP's pin mapping when paired with RKL
authorMatt Roper <matthew.d.roper@intel.com>
Sat, 6 Jun 2020 02:57:36 +0000 (19:57 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 9 Jun 2020 17:25:33 +0000 (10:25 -0700)
commiteb8a4cdf806b9ae02161182f5a6fa1218a4a547d
tree93075b679461c6e86d68ee0e469ee3ec9406b6b1
parent520cc9641a9a7ff6e8247c5ee64cede727e4640c
drm/i915/rkl: Update TGP's pin mapping when paired with RKL

HPD pin handling for RKL+TGP is a special case; we effectively select
the HPD pin based on the DDI (A,B,D,E) rather than the PHY (A,B,C,D).
This differs from the regular behavior of RKL+CMP (and also TGL+TGP).

v2:
 - Rather than providing a custom hpd_pin mapping table, just assign
   encoder->hpd_pin in a custom manner for this setup.  (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200606025740.3308880-4-matthew.d.roper@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/display/intel_hotplug.c