1. 23 9月, 2015 1 次提交
  2. 10 9月, 2015 1 次提交
  3. 04 9月, 2015 1 次提交
  4. 02 9月, 2015 1 次提交
  5. 31 8月, 2015 1 次提交
  6. 26 8月, 2015 1 次提交
  7. 15 8月, 2015 5 次提交
  8. 14 8月, 2015 1 次提交
  9. 11 8月, 2015 1 次提交
  10. 22 7月, 2015 1 次提交
  11. 21 7月, 2015 2 次提交
  12. 15 7月, 2015 1 次提交
  13. 13 7月, 2015 1 次提交
  14. 08 7月, 2015 1 次提交
  15. 06 7月, 2015 2 次提交
    • P
      drm/i915: FBC doesn't need struct_mutex anymore · c80ac854
      Paulo Zanoni 提交于
      Everything is covered either by fbc.lock or mm.stolen_lock, and
      intel_fbc.c is already responsible for grabbing the appropriate locks
      when it needs them.
      Reviewed-by: NChris wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c80ac854
    • P
      drm/i915: add the FBC mutex · 25ad93fd
      Paulo Zanoni 提交于
      Make sure we're not going to have weird races in really weird cases
      where a lot of different CRTCs are doing rendering and modesets at the
      same time.
      
      With this change and the stolen_lock from the previous patch, we can
      start removing the struct_mutex locking we have around FBC in the next
      patches.
      
      v2:
       - Rebase (6 months later)
       - Also lock debugfs and stolen.
      v3:
       - Don't lock a single value read (Chris).
       - Replace lockdep assertions with WARNs (Daniel).
       - Improve commit message.
       - Don't forget intel_pre_plane_update() locking.
      v4:
       - Don't remove struct_mutex at intel_pre_plane_update() (Chris).
       - Add comment regarding locking dependencies (Chris).
       - Rebase after the stolen code rework.
       - Rebase again after drm-intel-nightly changes.
      v5:
       - Rebase after the new stolen_lock patch.
      
      Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v4)
      Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      25ad93fd
  16. 03 7月, 2015 1 次提交
  17. 29 6月, 2015 1 次提交
  18. 27 6月, 2015 1 次提交
  19. 26 6月, 2015 2 次提交
  20. 24 6月, 2015 1 次提交
  21. 16 6月, 2015 3 次提交
  22. 15 6月, 2015 1 次提交
  23. 12 6月, 2015 4 次提交
  24. 04 6月, 2015 1 次提交
  25. 29 5月, 2015 1 次提交
  26. 27 5月, 2015 1 次提交
    • C
      drm/i915: Use spinlocks for checking when to waitboost · 8d3afd7d
      Chris Wilson 提交于
      In commit 1854d5ca
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Tue Apr 7 16:20:32 2015 +0100
      
          drm/i915: Deminish contribution of wait-boosting from clients
      
      we removed an atomic timer based check for allowing waitboosting and
      moved it below the mutex taken during RPS. However, that mutex can be
      held for long periods of time on Vallyview/Cherryview as communication
      with the PCU is slow. As clients may frequently wait for results (e.g.
      such as tranform feedback) we introduced contention between the client
      and the RPS worker. We can take advantage of the RPS worker, by
      switching the wait boost decision to use spin locks and defer the
      actual reclocking to the worker.
      
      Fixes a regression of up to 45% on Baytrail and Baswell!
      
      v2 (Daniel):
      - Use max_freq_softlimit instead of the not-yet-merged boost
        frequency.
      - Don't inject a fake irq into the boost work, instead treat
        client_boost as just another legit waker.
      
      v3: Drop the now unused mask (Chris).
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90112
      Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      8d3afd7d
  27. 21 5月, 2015 2 次提交