• Zhenyu Wang's avatar
    drm/i915: change intel_ddc_get_modes() function parameters · 335af9a2
    Zhenyu Wang authored
    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: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
    Signed-off-by: default avatarEric Anholt <eric@anholt.net>
    335af9a2
intel_crt.c 14.5 KB