drm/i915: honour forced connector modes
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Aug 2014 17:35:29 +0000 (10:35 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:03:55 +0000 (11:03 +0200)
commitd84a0f3280c48fa28857de59a47e2fbf8753969f
tree1853d70744f3d67d5a4a99236bc17f0ffa658d39
parente80f14b6d36e3e07111cf2ab084ef8dd5d015ce2
drm/i915: honour forced connector modes

In the move over to use BIOS connector configs, we lost the ability to
force a specific set of connectors on or off.  Try to remedy that by
dropping back to the old behavior if we detect a hard coded connector
config that tries to enable a connector (disabling is easy!).

Based on earlier patches by Jesse Barnes.

v2: Remove Jesse's patch

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c