1. 08 7月, 2014 15 次提交
  2. 07 7月, 2014 15 次提交
  3. 04 7月, 2014 2 次提交
  4. 03 7月, 2014 3 次提交
  5. 02 7月, 2014 2 次提交
  6. 01 7月, 2014 2 次提交
    • P
      drm/i915: flush delayed_resume_work when suspending · 84a2ab8e
      Paulo Zanoni 提交于
      It is possible that, by the time we run i915_drm_freeze(),
      delayed_resume_work was already queued but did not run yet. If it
      still didn't run after intel_runtime_pm_disable_interrupts(), by the
      time it runs it will try to change the interrupt registers with the
      interrupts already disabled, which will trigger a WARN. We can
      reliably reproduce this with the pm_rpm system-suspend test case.
      
      In order to avoid the problem, we have to flush the work before
      disabling the interrupts. We could also cancel the work instead of
      flushing it, but that would require us to put a runtime PM reference -
      and any other resource we may need in the future - in case the work
      was already queued, so I believe flushing the work is more
      future-proof, although less efficient. But I can also change this part
      if someone requests.
      
      Another thing I tried was to move the intel_suspend_gt_powersave()
      call to before intel_runtime_pm_disable_interrupts(), but since that
      function needs to be called after the interrupts are already disabled,
      due to dev_priv->rps.work, this strategy didn't work.
      
      Testcase: igt/pm_rpm/system-suspend
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80517Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      84a2ab8e
    • D
      drm/i915: Drop early VLV WA to fix Voltage not getting dropped to Vmin · 5549d25f
      Deepak S 提交于
      Drop WA to fix Voltage not getting dropped to Vmin when Gfx is power
      gated for latest VLV revision.
      
      Workaround fixed in Latest VLV revision. Forcing Gfx clk up not needed,
      and Requesting the min freq should bring bring the voltage Vnn.
      
      v2: Drop WA for Latest VLV revision (Ville)
      Signed-off-by: NDeepak S <deepak.s@linux.intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      [Jani: modified code comment, reformatted the commit message a bit.]
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      5549d25f
  7. 30 6月, 2014 1 次提交