• Daniel Vetter's avatar
    drm/i915: track dp target_clock in pipe_config · df92b1e6
    Daniel Vetter authored
    We need it in the fdi m_n computation, which nicely kills almost
    all ugly special cases in there.
    
    It looks like we also need this to handle 12bpc hdmi correctly.
    
    Eventually it might be better to switch things around and put the
    target clock into adjusted_mode->clock and create a new pipe_config
    parameter for the port link clock.
    
    v2: Add a massive comment in the code to explain this mess.
    
    v3: s/dp_target_clock/pixel_target_clock in anticipation of the hdmi
    use-case.
    Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    df92b1e6
intel_dp.c 82.3 KB