1. 16 5月, 2014 2 次提交
  2. 02 4月, 2014 1 次提交
    • P
      drm/i915: fix WARNs when reading DDI state while suspended · 882244a3
      Paulo Zanoni 提交于
      If runtime PM is enabled and we unset all modes, we will runtime
      suspend after __intel_set_mode() , then function
      intel_modeset_check_state() will try to read the HW state while it is
      suspended and trigger lots of WARNs because it shouldn't be reading
      registers.
      
      So on this patch we make intel_ddi_connector_get_hw_state() return
      false in case the power domain is disabled, and we also make
      intel_display_power_enabled() return false in case the device is
      suspended. Notice that we can't just use
      intel_display_power_enabled_sw() because while the driver is being
      initialized the power domain refcounts are not reflecting the real
      state of the hardware.
      
      Just for reference, I have previously published an alternate patch for
      this problem, called "drm/i915: get runtime PM at intel_set_mode".
      
      Testcase: igt/pm_pc8
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      882244a3
  3. 19 3月, 2014 1 次提交
  4. 18 3月, 2014 2 次提交
    • J
      drm/i915: finish off reverting eDP VDD changes · 24f3e092
      Jani Nikula 提交于
      This is a small follow-up fix to the series of eDP VDD back and forth
      we've had recently. This is effectively a combined revert of three
      commits:
      
      commit 2c2894f698fffd8ff53e1e1d3834f9e1035b1f39
      Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Date:   Fri Mar 7 20:05:20 2014 -0300
      
          drm/i915: properly disable the VDD when disabling the panel
      
      commit b3064154
      Author: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Date:   Tue Mar 4 00:42:44 2014 +0100
      
          drm/i915: Don't just say it, actually force edp vdd
      
      commit dff392db
      Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Date:   Fri Dec 6 17:32:41 2013 -0200
      
          drm/i915: don't touch the VDD when disabling the panel
      
      which shows that we're pretty close back to where we started
      already. The first two were basically reverting the last, but missing
      the WARN. Add that back. We also OCD the intel_ prefix back to
      intel_edp_panel_vdd_on() which was lost somewhere in between. The circle
      closes.
      
      For future reference, "drm/i915: don't touch the VDD when disabling the
      panel" failed to take into account
      
      commit 6cb49835
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Sun May 20 17:14:50 2012 +0200
      
          drm/i915: enable vdd when switching off the eDP panel
      
      and
      
      commit 35a38556
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Sun Aug 12 22:17:14 2012 +0200
      
          drm/i915: reorder edp disabling to fix ivb MacBook Air
      
      Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      24f3e092
    • P
      drm/i915: properly disable the VDD when disabling the panel · 849e39f5
      Paulo Zanoni 提交于
      Commit b3064154 tried to revert commit
      dff392db, but wasn't complete, which
      resulted in regressions on Haswell. So this commit should fix
      b3064154 by undoing what it did and
      providing an actual complete revert of
      dff392db.
      
      Fixes regression introduced by:
      commit b3064154
      Author: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Date:   Tue Mar 4 00:42:44 2014 +0100
          drm/i915: Don't just say it, actually force edp vdd
      
      Testcase: igt/pm_pc8
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Tested-by: NPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      849e39f5
  5. 11 3月, 2014 1 次提交
    • V
      drm/i915: Make encoder cloning more flexible · bc079e8b
      Ville Syrjälä 提交于
      Currently we allow encoders to indicate whether they can be part of a
      cloned set with just one flag. That's not flexible enough to describe
      the actual hardware capabilities. Instead make it a bitmask of encoder
      types with which the current encoder can be cloned.
      
      For now we set the bitmask to allow DVO+DVO and DVO+VGA, which should
      match what the old boolean flag allowed. We will add some more cloning
      options in the future.
      
      Note that this patch also removes the encoder.possible_clones setting
      from encoder setup code - we compute this dynamically.
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@gmail.com>
      [danvet: Add Ville's explanation why removing the encoder
      possible_clones is save.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      bc079e8b
  6. 08 3月, 2014 1 次提交
  7. 13 2月, 2014 1 次提交
  8. 25 1月, 2014 3 次提交
  9. 08 1月, 2014 1 次提交
  10. 12 12月, 2013 2 次提交
  11. 11 12月, 2013 1 次提交
  12. 04 12月, 2013 1 次提交
  13. 28 11月, 2013 1 次提交
  14. 21 11月, 2013 1 次提交
  15. 19 11月, 2013 2 次提交
  16. 09 11月, 2013 5 次提交
  17. 29 10月, 2013 1 次提交
  18. 28 10月, 2013 1 次提交
  19. 10 10月, 2013 1 次提交
  20. 09 10月, 2013 1 次提交
  21. 01 10月, 2013 4 次提交
  22. 13 9月, 2013 2 次提交
  23. 10 9月, 2013 1 次提交
  24. 09 9月, 2013 1 次提交
  25. 04 9月, 2013 1 次提交
  26. 23 8月, 2013 1 次提交