1. 08 8月, 2013 1 次提交
  2. 05 8月, 2013 1 次提交
  3. 24 7月, 2013 1 次提交
  4. 12 7月, 2013 1 次提交
  5. 01 7月, 2013 1 次提交
  6. 12 6月, 2013 1 次提交
  7. 11 6月, 2013 2 次提交
  8. 10 6月, 2013 4 次提交
  9. 07 6月, 2013 1 次提交
    • D
      drm/i915: pipe config quirk infrastructure plus sdvo mode.flags fix · bb760063
      Daniel Vetter 提交于
      For various reasons the hw state readout might not be able to
      faithfully match the hw state:
      - broken hw (like the case which motivated this patch here where the
        sdvo encoder does not implemented mandatory functionality
        correctly).
      - platforms which are not supported fully with the pipe config
        infrastructure
      - if our code doesn't support a given hw configuration natively, e.g.
        special restrictions on the per-pipe panel fitters when they're used
        in high-quality scaling modes.
      
      In all these cases both fastboot and the hw state cross checker need
      to be aware of these cases and act accordingly. To be able to do this
      add a new quirk flag to the pipe config structure.
      
      The specific case at hand is an sdvo encoder which doesn't implement
      the get_timings function, so adjusted_mode flags will be wrong. The
      strange thing though is that the encoder _does_ work, even though it
      doesn't implement any of the timings functions (so neither get nor
      set, neither for input nor output timings).
      
      Not that non-compliant sdvo encoder are any surprise at all ...
      
      v2:
      - Don't read random garbage from the dtd if the get_timings call
        failed (suggested by Chris).
      - Still check the interlaced flag, that's read out from someplace
        else. We want maximal paranoia, after all.
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      bb760063
  10. 06 6月, 2013 2 次提交
    • D
      drm/i915: hw state readout support for pixel_multiplier · 6c49f241
      Daniel Vetter 提交于
      Incomplete since ilk+ support needs proper pch dpll tracking first.
      SDVO get_config parts based on a patch from Jesse Barnes, but fixed up
      to actually work.
      
      v2: Make sure that we call encoder->get_config _after_ we
      get_pipe_config to be consistent in both setup_hw_state and the
      modeset state checker. Otherwise the clever trick with handling the
      pixel mutliplier on i915G/GM where the encoder overrides the default
      value of 1 from the crtc get_pipe_config function doesn't work.
      Spotted by Imre Deak.
      
      v3: Actually cross-check the pixel mutliplier (but not on pch split
      platforms for now). Now actually also tested on a i915G with a sdvo
      encoder plugged in.
      
      Cc: Imre Deak <imre.deak@intel.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      6c49f241
    • D
      drm/i915: set default value for config->pixel_multiplier · ef1b460d
      Daniel Vetter 提交于
      This way we can simplify the code quite a bit.
      
      Also add a WARN in the sdvo code to complain about a bogus value
      and kill the readout code in intel_ddi.c that Jesse sneaked in.
      HW state readout for the pixel multiplier will work a bit differently
      in the end.
      
      v2: Rebase on top of the fdi pixel mutliplier handling fix.
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      ef1b460d
  11. 04 6月, 2013 1 次提交
  12. 01 6月, 2013 1 次提交
  13. 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
  14. 11 5月, 2013 3 次提交
  15. 23 4月, 2013 1 次提交
    • D
      drm/i915: avoid full modeset when changing the color range properties · ae4edb80
      Daniel Vetter 提交于
      Automatic color range selection was added in
      
      commit 55bc60db
      Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Date:   Thu Jan 17 16:31:29 2013 +0200
      
          drm/i915: Add "Automatic" mode for the "Broadcast RGB" property
      
      but that removed the check to avoid a full modeset if the value is
      unchanged. Unfortunately X sets all properties with their current
      value at start-up, resulting in some ugly flickering which shouldn't
      be there.
      
      v2: Change old_range from bool to uint32_t, spotted by Ville.
      
      v3: Actually git add everything ;-)
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      ae4edb80
  16. 18 4月, 2013 2 次提交
    • 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
    • E
      drm/i915: Fix SDVO connector and encoder get_hw_state functions · 7a7d1fb7
      Egbert Eich 提交于
      The connector associated with the encoder is considered active when the
      output associtated with this connector is active on the encoder. The
      encoder itself is considered active when either there is an active
      output on  it or the  respective SDVO channel is active.
      Having active outputs when the SDVO channel is inactive seems to be
      inconsistent: such states can be found when intel_modeset_setup_hw_state()
      collects the hardware state set by the BIOS.
      This inconsistency will be fixed in intel_sanitize_crtc()
      (when intel_crtc_update_dpms() is called), this however only happens
      when the encoder is associated with a crtc.
      
      This patch also reverts:
      
           commit bd6946e8
           Author: Daniel Vetter <daniel.vetter@ffwll.ch>
           Date:   Tue Apr 2 21:30:34 2013 +0200
      
               drm/i915: Fix sdvo connector get_hw_state function
      Signed-off-by: NEgbert Eich <eich@suse.de>
      Suggested-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63031
      Cc: stable@vger.kernel.org
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      7a7d1fb7
  17. 03 4月, 2013 1 次提交
  18. 28 3月, 2013 6 次提交
  19. 27 3月, 2013 1 次提交
  20. 23 3月, 2013 1 次提交
  21. 18 3月, 2013 1 次提交
  22. 12 3月, 2013 1 次提交
  23. 05 3月, 2013 3 次提交
  24. 22 2月, 2013 1 次提交
  25. 14 2月, 2013 1 次提交