• Z
    drm/i915: change intel_ddc_get_modes() function parameters · 335af9a2
    Zhenyu Wang 提交于
    This one replaces original param for intel_ddc_get_modes() with
    DRM connector and i2c bus adapter instead. With explicit params,
    we won't require that a single driver structure must hold connector
    and DDC bus reference, which ease the conversion to splitted encoder/
    connector model.
    
    It also clears up for some cases that we would steal other DDC bus
    for mode probe, like VGA analog DDC probe for DVI-I. Also it fixed
    a bug in old DVI-I probe handling, that failed to restore origin
    analog GPIO port.
    Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
    Signed-off-by: NEric Anholt <eric@anholt.net>
    335af9a2
intel_lvds.c 33.5 KB