• J
    drm/i915: add encoder get_config function v5 · 045ac3b5
    Jesse Barnes 提交于
    We can use this for fetching encoder specific pipe_config state, like
    mode flags, adjusted clock, etc.
    
    Just used for mode flags atm, so we can check the pipe config state at
    mode set time.
    
    v2: get_config when checking hw state too
    v3: fix DVO and LVDS mode flags (Ville)
        get SDVO DTD for flag fetch (Ville)
    v4: use input timings (Ville)
        correct command used (Ville)
        remove gen4 check (Ville)
    v5: get DDI flag config too
    Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v4)
    Tested-by: Paulo Zanoni <przanoni@gmail.com> (the new hsw ddi stuff)
    Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
    045ac3b5
intel_sdvo.c 88.3 KB