drm/i915: Preserve the DDI_A_4_LANES bit from the bios
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 12 Jul 2013 20:54:41 +0000 (13:54 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 13 Jul 2013 08:44:32 +0000 (10:44 +0200)
commitbcf53de4e60d9000b82f541d654529e2902a4c2c
treef68c8292f46f07243be44c67a9e503220abee064
parent21d8a4756af5fdf4a42e79a77cf3b6f52678d443
drm/i915: Preserve the DDI_A_4_LANES bit from the bios

Otherwise the DDI_A_4_LANES bit gets lost and we can't use > 2 lanes
on eDP. This fixes eDP on hsw with > 2 lanes.

Also s/port_reversal/saved_port_bits/ since the current name is
confusing.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
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/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h