drm/i915: Clean up DDI DDC/AUX CH sanitation
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 11 Oct 2016 17:52:47 +0000 (20:52 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Oct 2016 12:43:40 +0000 (15:43 +0300)
commit9454fa871edf15c20a0371548b3ec0d6d944a498
treecc7e13773dcbb01e6434d5dec85dd272a4ab9fe4
parente4ab73a13291fc844c9e24d5c347bd95818544d2
drm/i915: Clean up DDI DDC/AUX CH sanitation

Now that we use the AUX and GMBUS assignment from VBT for all ports,
let's clean up the sanitization of the port information a bit.
Previosuly we only did this for port E, and only complained about a
non-standard assignment for the other ports. But as we know that
non-standard assignments are a fact of life, let's expand the
sanitization to all the ports.

v2: Include a commit message, fix up the comments a bit
v3: Don't clobber other ports if the current port has no alternate aux ch/ddc pin

Cc: stable@vger.kernel.org
Cc: Maarten Maathuis <madman2003@gmail.com>
Tested-by: Maarten Maathuis <madman2003@gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=97877
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476208368-5710-4-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (v2)
drivers/gpu/drm/i915/intel_bios.c