]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Preserve the DDI link reversal configuration
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 11 Dec 2012 18:48:30 +0000 (18:48 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Feb 2013 09:30:47 +0000 (10:30 +0100)
commita5999c48476ab6f27200e21244231eb764d1c3eb
tree722a05f26baf0563b3b84993f7ef0b627d9a98f8
parentcae0971b0b281c313db68ed4783c6a039ca8380c
drm/i915: Preserve the DDI link reversal configuration

Similarly to:

  commit 6a0d1df3d3a0d2370541164eb0595fe35dcd6de3
  Author: Damien Lespiau <damien.lespiau@intel.com>
  Date:   Tue Dec 11 15:18:28 2012 +0000

      drm/i915: Preserve the FDI line reversal override bit on CPT

DDI port support lane reversal to easy the PCB layouting work. Let's
preserve the bit configured by the BIOS (until we find how to correctly
retrieve the information from the VBT, but this does sound more fragile
then just relying on the BIOS that has, hopefully, been validated
already.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h