drm/i915: Don't offset the pin used for crt_ddc
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Sep 2010 09:54:48 +0000 (10:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Sep 2010 10:58:33 +0000 (11:58 +0100)
commit2896b5397570f6857fd5d0e0533f640b05b1d162
tree6b26c57dc371c012a2829348e71f4e2fc8e91d09
parentdfaae392f4461785eb1c92aeaf2a1040b184edba
drm/i915: Don't offset the pin used for crt_ddc

Previously when converting the GMBUS pin to the GPIO reg, we would
offset the pin by one and then use the look-up table. Now that we first
try to use the GMBUS pin, we no longer need the offset and can use the
value from the VBIOS directly.

Reported-by: Carlos R. Mafra <crmafra2@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_bios.c