1. 25 1月, 2014 1 次提交
  2. 10 1月, 2014 1 次提交
  3. 14 11月, 2013 1 次提交
  4. 13 11月, 2013 1 次提交
  5. 07 11月, 2013 1 次提交
  6. 12 10月, 2013 1 次提交
  7. 13 9月, 2013 1 次提交
  8. 16 6月, 2013 1 次提交
    • C
      drm/i915: Restore fences after resume and GPU resets · 19b2dbde
      Chris Wilson 提交于
      Stéphane Marchesin found that fences for pinned objects (i.e. the
      scanout) were not being restored upon resume, leading to corruption on
      the display and reference counting issues. This is due to a bug in
      
      commit 312817a3 [2.6.38]
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Mon Nov 22 11:50:11 2010 +0000
      
          drm/i915: Only save and restore fences for UMS
      
      that zapped the pinned fences even though they were in use.
      Fortuitously, whilst we forced a VT switch during suspend and resume,
      no fences were ever pinned at the time. However, we now can do
      switchless S3 transitions and so the old bug finally surfaces.
      Reported-by: NStéphane Marchesin <marcheu@chromium.org>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Stéphane Marchesin <marcheu@chromium.org>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      19b2dbde
  9. 25 4月, 2013 1 次提交
  10. 18 3月, 2013 1 次提交
  11. 20 2月, 2013 1 次提交
  12. 31 1月, 2013 4 次提交
  13. 29 1月, 2013 1 次提交
  14. 24 1月, 2013 1 次提交
  15. 22 11月, 2012 1 次提交
  16. 12 11月, 2012 1 次提交
  17. 18 10月, 2012 4 次提交
  18. 03 10月, 2012 2 次提交
  19. 26 6月, 2012 1 次提交
  20. 23 6月, 2012 1 次提交
  21. 20 5月, 2012 1 次提交
  22. 03 5月, 2012 1 次提交
  23. 13 4月, 2012 1 次提交
    • D
      drm/i915: re-init modeset hw state after gpu reset · f817586c
      Daniel Vetter 提交于
      After a gpu reset we need to re-init some of the hw state we only
      initialize when modeset is enabled, like rc6, hw contexts or render/GT
      core clock gating and workaround register settings.
      
      Note that this patch has a small change in the resume code:
      - rc6 on gen6+ is only restored for the modeset case (for more
        consistency with other callsites). This is no problem because recent
        kernels refuse to load drm/i915 without kms on gen6+
      - rc6/emon on ilk is only restored for the modeset case. This is no
        problem because rc6 is disabled by default on ilk, and ums on ilk
        has never really been a supported option outside of horrible rhel
        backports.
      
      v2: Chris Wilson noticed that we not only fail to restore the clock
      gating settings after gpu reset.
      
      v3: Move the call to modeset_init_hw in _reset out of the
      struct_mutext protected area - other callers don't hold it, too.
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-Off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      f817586c
  24. 25 1月, 2012 1 次提交
  25. 10 1月, 2012 2 次提交
  26. 04 11月, 2011 1 次提交
  27. 20 9月, 2011 1 次提交
  28. 16 8月, 2011 1 次提交
  29. 30 7月, 2011 1 次提交
  30. 09 7月, 2011 1 次提交
  31. 30 6月, 2011 1 次提交
    • K
      drm/i915: Hold struct_mutex during i915_save_state/i915_restore_state · d70bed19
      Keith Packard 提交于
      Lots of register access in these functions, some of which requires the
      struct mutex.
      
      These functions now hold the struct mutex across the calls to
      i915_save_display and i915_restore_display, and so the internal mutex
      calls in those functions have been removed. To ensure that no-one else
      was calling them (and hence violating the new required locking
      invarient), those functions have been made static.
      
      gen6_enable_rps locks the struct mutex, and so i915_restore_state
      unlocks the mutex around calls to that function.
      Reviewed-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      d70bed19
  32. 29 6月, 2011 1 次提交
    • J
      drm/i915: load a ring frequency scaling table v3 · 23b2f8bb
      Jesse Barnes 提交于
      The ring frequency scaling table tells the PCU to treat certain GPU
      frequencies as if they were a given CPU frequency for purposes of
      scaling the ring frequency.  Normally the PCU will scale the ring
      frequency based on the CPU P-state, but with the table present, it will
      also take the GPU frequency into account.
      
      The main downside of keeping the ring frequency high while the CPU is
      at a low frequency (or asleep altogether) is increased power
      consumption.  But then if you're keeping your GPU busy, you probably
      want the extra performance.
      
      v2:
        - add units to debug table header (from Eric)
        - use tsc_khz as a fallback if the cpufreq driver doesn't give us a freq
          (from Chris)
      v3:
        - fix comments & debug output
        - remove unneeded force wake get/put
      Reviewed-by: NBen Widawsky <ben@bwidawsk.net>
      Tested-by: NEric Anholt <eric@anholt.net>
      Reviewed-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      23b2f8bb