drm/i915/sdvo: force GPIO bit-banging also on default pin
authorJani Nikula <jani.nikula@intel.com>
Mon, 22 Oct 2012 13:12:17 +0000 (16:12 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Oct 2012 08:26:19 +0000 (10:26 +0200)
commit6cb1612a7dc4c3d5ed86dba5dd21bb48a5c395af
tree78f885bd9db4910008d17169a555173bfd861b93
parent5de8bbf5536fe79c1353c5476c31409531b5393f
drm/i915/sdvo: force GPIO bit-banging also on default pin

commit 63abf3edaf42d0b9f278df90fe41c7ed4796b6b1
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Dec 8 16:48:21 2010 +0000

    drm/i915/sdvo: Only use the SDVO pin if it is in the valid range

added a default fallback if BIOS provides an invalid pin mapping, but
failed to force GPIO bit-banging on it. Finish the job, and also clean up
the function a bit. With bit-banging, setting the gmbus speed has no
effect, so drop it.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
[danvet: Extend comment about gmbus in the code a bit.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c