1. 01 10月, 2013 4 次提交
  2. 17 9月, 2013 1 次提交
    • V
      drm/i915: Fix port_clock and adjusted_mode.clock readout all over · 18442d08
      Ville Syrjälä 提交于
      Now that adjusted_mode.clock no longer contains the pixel_multiplier, we
      can kill the get_clock() callback and instead do the clock readout
      in get_pipe_config().
      
      Also i9xx_crtc_clock_get() can now extract the frequency of the PCH
      DPLL, so use it to populate port_clock accurately for PCH encoders.
      For DP in port A the encoder is still responsible for filling in
      port_clock. The FDI adjusted_mode.clock extraction is kept in place
      for some extra sanity checking, but we no longer need to pretend it's
      also the port_clock.
      
      In the encoder get_config() functions fill out adjusted_mode.clock
      based on port_clock and other details such as the DP M/N values,
      HDMI 12bpc and SDVO pixel_multiplier. For PCH encoders we will then
      do an extra sanity check to make sure the dotclock we derived from
      the FDI configuratiuon matches the one we derive from port_clock.
      
      DVO doesn't exist on PCH platforms, so it doesn't need to anything
      but assign adjusted_mode.clock=port_clock. And DDI is HSW only, so
      none of the changes apply there.
      
      v2: Use hdmi_reg color format to detect 12bpc HDMI case
      v3: Set adjusted_mode.clock for LVDS too
      v4: Rename ironlake_crtc_clock_get to ironlake_pch_clock_get,
          eliminate the useless link_freq variable.
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      18442d08
  3. 11 9月, 2013 1 次提交
  4. 03 9月, 2013 1 次提交
  5. 05 8月, 2013 1 次提交
  6. 24 7月, 2013 1 次提交
  7. 01 6月, 2013 1 次提交
  8. 21 5月, 2013 1 次提交
    • 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
  9. 11 5月, 2013 1 次提交
  10. 24 4月, 2013 1 次提交
  11. 18 4月, 2013 1 次提交
    • E
      drm/i915: (re)init HPD interrupt storm statistics · 821450c6
      Egbert Eich 提交于
      When an encoder is shared on several connectors there is only
      one hotplug line, thus this line needs to be shared among these
      connectors.
      If HPD detect only works reliably on a subset of those connectors,
      we want to poll the others. Thus we need to make sure that storm
      detection doesn't mess up the settings for those connectors.
      Therefore we store the settings in the intel_connector struct and
      restore them from there.
      If nothing is set but the encoder has a hpd_pin set we assume this
      connector is hotplug capable.
      On init/reset we make sure the polled state of the connectors
      is (re)set to the default value, the HPD interrupts are marked
      enabled.
      Signed-off-by: NEgbert Eich <eich@suse.de>
      Reviewed-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      821450c6
  12. 28 3月, 2013 2 次提交
  13. 27 3月, 2013 2 次提交
  14. 07 3月, 2013 1 次提交
  15. 20 2月, 2013 1 次提交
  16. 14 2月, 2013 1 次提交
  17. 27 1月, 2013 1 次提交
  18. 10 12月, 2012 1 次提交
  19. 08 12月, 2012 1 次提交
  20. 29 11月, 2012 1 次提交
  21. 22 11月, 2012 1 次提交
  22. 12 11月, 2012 2 次提交
  23. 06 11月, 2012 1 次提交
  24. 23 10月, 2012 2 次提交
  25. 18 10月, 2012 2 次提交
  26. 16 10月, 2012 1 次提交
    • E
      DRM/i915: Don't delete DPLL Multiplier during DAC init. · 6478d414
      Egbert Eich 提交于
      The DPLL multipiler is set up in intel_display.c:i9xx_update_pll()
      called from i9xx_crtc_mode_set().
      There the DPLL multiplier is adjusted so that the SDVO gets a sufficient
      bus clock.
      When cloning a CRTC between an SDVO driven encoder and the standard
      DAC the DAC setup code reseted the multiplier value to 1 thus undoing
      the correct setup. There is no need to touch the multiplier in the DAC
      setup code: the correct value (i.e. 1 in case no SDVO encoder is used)
      is set by i9xx_update_pll() already.
      A comment at the code suggested that this code is a left over from the
      days when there was no setup for clone modes.
      Signed-off-by: NEgbert Eich <eich@suse.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      6478d414
  27. 03 10月, 2012 2 次提交
  28. 06 9月, 2012 4 次提交