]> git.proxmox.com Git - mirror_ubuntu-kernels.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>
Tue, 19 Feb 2013 23:21:45 +0000 (00:21 +0100)
commit876a8cdf92b23d268275cdce4397df0c37dac3fe
tree041bd17045aa829a3bd83d026ac0332ddb142ba2
parent3e68320ef84528604d971afc3cadfbe208bef001
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