[PATCH 47/59] drm/i915/cnl: Add right GMBUS pin number for HDMI on Port F.

Timo Aaltonen tjaalton at ubuntu.com
Wed Mar 28 15:30:57 UTC 2018

From: Rodrigo Vivi <rodrigo.vivi at intel.com>

BugLink: http://bugs.launchpad.net/bugs/1757573

On CNP Pin 3 is for misc of Port F usage depending on the
configuration. For CNL that uses Port F, pin 3 is the one.

v2: Make it more generic and update commit message.

Cc: Anusha Srivatsa <anusha.srivatsa at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Manasi Navare <manasi.d.navare at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180129232223.766-6-rodrigo.vivi@intel.com
(cherry picked from git://anongit.freedesktop.org/drm/drm-intel commit 3a2a59ccb11c93e778f83548b6963e4d061f5810)
Signed-off-by: Timo Aaltonen <timo.aaltonen at canonical.com>
 drivers/gpu/drm/i915/intel_hdmi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index c9b1bd7c1800..947fdabb6c48 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -1923,6 +1923,9 @@ static u8 cnp_port_to_ddc_pin(struct drm_i915_private *dev_priv,
 	case PORT_D:
 		ddc_pin = GMBUS_PIN_4_CNP;
+	case PORT_F:
+		ddc_pin = GMBUS_PIN_3_BXT;
+		break;
 		ddc_pin = GMBUS_PIN_1_BXT;

More information about the kernel-team mailing list