]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: add encoder get_config function v5
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 15 May 2013 00:08:26 +0000 (17:08 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 May 2013 07:55:19 +0000 (09:55 +0200)
commit045ac3b5629d9711531a408e92f9074db6afe7ce
tree805bec017102d4fbebbf951d601bd612a188df0e
parente1b73cba13a0cc68dd4f746eced15bd6bb24cda4
drm/i915: add encoder get_config function v5

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: Jesse 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: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dvo.c
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_sdvo.c