• Chris Wilson's avatar
    drm/i915/i2c: Track users of GMBUS force-bit · f2ce9faf
    Chris Wilson authored
    This fixes a regression for SDVO from
    
    commit fbfcc4f3
    Author: Jani Nikula <jani.nikula@intel.com>
    Date:   Mon Oct 22 16:12:18 2012 +0300
    
        drm/i915/sdvo: restore i2c adapter config on intel_sdvo_init() failures
    
    As SDVOB and SDVOC are multiplexed on the same pin, if a chipset does
    not have the second SDVO encoder, it will then remove the force-bit
    setting on the common i2c adapter during teardown. All subsequent
    attempts of trying to use GMBUS with SDVOB then fail.
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Cc: Mika Kuoppala <mika.kuoppala@intel.com>
    [danvet: fixup inversion in the debug printout, noticed by Jani
    Nikulai.]
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    f2ce9faf
i915_drv.h 52.6 KB