]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
authorJani Nikula <jani.nikula@intel.com>
Thu, 28 Sep 2017 08:21:57 +0000 (11:21 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 19 Oct 2017 14:49:37 +0000 (09:49 -0500)
commit88a775790b1facf6a5569f2e1de0c20af5e550d0
tree72fe13e85d90569dc8de7378cbca425ab162dc22
parentffc30d5fc096ba9d5aee3a117d64963460a47e36
drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel

BugLink: http://bugs.launchpad.net/bugs/1724669
commit ea850f64c2722278f150dc11de2141baeb24211c upstream.

While technically CHV isn't DDI, we do look at the VBT based DDI port
info for HDMI DDC pin and DP AUX channel. (We call these "alternate",
but they're really just something that aren't platform defaults.)

In commit e4ab73a13291 ("drm/i915: Respect alternate_ddc_pin for all DDI
ports") Ville writes, "IIRC there may be CHV system that might actually
need this."

I'm not sure why there couldn't be even more platforms that need this,
but start conservative, and parse the info for CHV in addition to DDI.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100553
Reported-by: Marek Wilczewski <mw@3cte.pl>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d0815082cb98487618429b62414854137049b888.1506586821.git.jani.nikula@intel.com
(cherry picked from commit 348e4058ebf53904e817eec7a1b25327143c2ed2)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/gpu/drm/i915/intel_bios.c