drm/i915/cnl: Add right GMBUS pin number for HDMI on Port F.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 29 Jan 2018 23:22:19 +0000 (15:22 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 30 Jan 2018 18:24:18 +0000 (10:24 -0800)
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@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180129232223.766-6-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_hdmi.c

index 303c6d5acbded9d82c04904b446d6da9d416678b..a8f05f7d9226a316995afe4a15c1f467ea3f952c 100644 (file)
@@ -1935,6 +1935,9 @@ static u8 cnp_port_to_ddc_pin(struct drm_i915_private *dev_priv,
        case PORT_D:
                ddc_pin = GMBUS_PIN_4_CNP;
                break;
+       case PORT_F:
+               ddc_pin = GMBUS_PIN_3_BXT;
+               break;
        default:
                MISSING_CASE(port);
                ddc_pin = GMBUS_PIN_1_BXT;