drm/i915: always preserve bios swizzling
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Mar 2015 11:42:24 +0000 (12:42 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Mar 2015 13:25:23 +0000 (14:25 +0100)
commit88595ac9ad199fc2e09270ec92e1ff0806033b83
tree020898f0c672b06012dd247dda2520324b7184c6
parentf6936e2902a7a6be52112e735a280aa2155b2c71
drm/i915: always preserve bios swizzling

Currently we only set preserve_bios_swizzling when the initial fb is
shared and totally miss the single-screen case. Fix this by
consolidating all the logic for both cases.

This seems to go back to when swizzle preservation was originally
merged in

commit d9ceb8163339134bd3ffb9fb87a0db4698283e32
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Oct 9 12:57:43 2014 -0700

    drm/i915: preserve swizzle settings if necessary v4

Cc: Kristian Høgsberg <hoegsberg@gmail.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_display.c