1. 05 11月, 2022 1 次提交
    • J
      drm/i915/guc: Don't deadlock busyness stats vs reset · 178b8a36
      John Harrison 提交于
      The engine busyness stats has a worker function to do things like
      64bit extend the 32bit hardware counters. The GuC's reset prepare
      function flushes out this worker function to ensure no corruption
      happens during the reset. Unforunately, the worker function has an
      infinite wait for active resets to finish before doing its work. Thus
      a deadlock would occur if the worker function had actually started
      just as the reset starts.
      
      The function being used to lock the reset-in-progress mutex is called
      intel_gt_reset_trylock(). However, as noted it does not follow
      standard 'trylock' conventions and exit if already locked. So rename
      the current _trylock function to intel_gt_reset_lock_interruptible(),
      which is the behaviour it actually provides. In addition, add a new
      implementation of _trylock and call that from the busyness stats
      worker instead.
      
      v2: Rename existing trylock to interruptible rather than trying to
      preserve the existing (confusing) naming scheme (review comments from
      Tvrtko).
      Signed-off-by: NJohn Harrison <John.C.Harrison@Intel.com>
      Reviewed-by: NUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20221102192109.2492625-3-John.C.Harrison@Intel.com
      178b8a36
  2. 28 9月, 2022 1 次提交
  3. 08 9月, 2022 1 次提交
  4. 15 7月, 2022 1 次提交
  5. 13 7月, 2022 2 次提交
  6. 20 5月, 2022 1 次提交
  7. 16 5月, 2022 1 次提交
  8. 13 5月, 2022 1 次提交
  9. 07 5月, 2022 1 次提交
  10. 20 4月, 2022 1 次提交
  11. 23 3月, 2022 1 次提交
  12. 03 3月, 2022 1 次提交
  13. 17 2月, 2022 2 次提交
  14. 14 2月, 2022 1 次提交
  15. 11 2月, 2022 1 次提交
  16. 02 2月, 2022 1 次提交
  17. 12 1月, 2022 1 次提交
  18. 10 1月, 2022 1 次提交
  19. 13 12月, 2021 1 次提交
  20. 09 12月, 2021 1 次提交
  21. 16 11月, 2021 1 次提交
  22. 10 11月, 2021 1 次提交
  23. 28 7月, 2021 3 次提交
  24. 24 7月, 2021 1 次提交
  25. 06 6月, 2021 1 次提交
  26. 28 5月, 2021 1 次提交
    • A
      drm/i915: Add Wa_14010733141 · 5b26d57f
      Aditya Swarup 提交于
      The WA requires the following procedure for VDBox SFC reset:
      
      If (MFX-SFC usage is 1) {
      	1.Issue a MFX-SFC forced lock
      	2.Wait for MFX-SFC forced lock ack
      	3.Check the MFX-SFC usage bit
      	If (MFX-SFC usage bit is 1)
      		Reset VDBOX and SFC
      	else
      		Reset VDBOX
      	Release the force lock MFX-SFC
      }
      else if(HCP+SFC usage is 1) {
      	1.Issue a VE-SFC forced lock
      	2.Wait for SFC forced lock ack
      	3.Check the VE-SFC usage bit
      	If (VE-SFC usage bit is 1)
      		Reset VDBOX
      	else
      		Reset VDBOX and SFC
      	Release the force lock VE-SFC.
      }
      else
      	Reset VDBOX
      
      - Restructure: the changes to the original code flow should stay
        relatively minimal; we only need to do an extra HCP check after the
        usual VD-MFX check and, if true, switch the register/bit we're
        performing the lock on.(MattR)
      
      v2:
      - Assign unlock mask using paired_engine->mask instead of using
        BIT(paired_vecs->id). (Daniele)
      
      Bspec: 52890, 53509
      
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Matt Roper <matthew.d.roper@intel.com>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Signed-off-by: NAditya Swarup <aditya.swarup@intel.com>
      Co-developed-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210526094852.286424-2-aditya.swarup@intel.com
      5b26d57f
  27. 25 5月, 2021 1 次提交
  28. 25 3月, 2021 3 次提交
  29. 02 2月, 2021 1 次提交
  30. 15 1月, 2021 1 次提交
  31. 14 1月, 2021 1 次提交
  32. 05 1月, 2021 1 次提交
  33. 30 12月, 2020 1 次提交
  34. 24 12月, 2020 1 次提交