• Daniel Vetter's avatar
    drm/i915: simplify dvo dpms interface · fac3274c
    Daniel Vetter authored
    All dvo drivers only support 2 dpms states, and our dvo driver
    even switches of the dvo port for anything else than DPMS_ON. Hence
    ditch this complexity and simply use bool enable.
    
    While reading through this code I've noticed that the mode_set
    function of ch7017 is a bit peculiar - it disable the lvds again, even
    though the crtc helper code should have done that ... This might be to
    work around an issue at driver load, we pretty much ignore the hw
    state when taking over.
    
    v2: Also do the conversion for the new ns2501 driver.
    Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    fac3274c
dvo_ch7xxx.c 7.51 KB