“4f04d8f00545110a0e525ae2fb62ab38cb417236”上不存在“arch/arm64/include/uapi/asm/siginfo.h”
  1. 06 9月, 2021 1 次提交
  2. 05 8月, 2021 2 次提交
  3. 17 7月, 2021 1 次提交
    • J
      drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser" · 93b71330
      Jason Ekstrand 提交于
      This reverts 686c7c35 ("drm/i915/gem: Asynchronous cmdparser").  The
      justification for this commit in the git history was a vague comment
      about getting it out from under the struct_mutex.  While this may
      improve perf for some workloads on Gen7 platforms where we rely on the
      command parser for features such as indirect rendering, no numbers were
      provided to prove such an improvement.  It claims to closed two
      gitlab/bugzilla issues but with no explanation whatsoever as to why or
      what bug it's fixing.
      
      Meanwhile, by moving command parsing off to an async callback, it leaves
      us with a problem of what to do on error.  When things were synchronous,
      EXECBUFFER2 would fail with an error code if parsing failed.  When
      moving it to async, we needed another way to handle that error and the
      solution employed was to set an error on the dma_fence and then trust
      that said error gets propagated to the client eventually.  Moving back
      to synchronous will help us untangle the fence error propagation mess.
      
      This also reverts most of 0edbb9ba ("drm/i915: Move cmd parser
      pinning to execbuffer") which is a refactor of some of our allocation
      paths for asynchronous parsing.  Now that everything is synchronous, we
      don't need it.
      
      v2 (Daniel Vetter):
       - Add stabel Cc and Fixes tag
      Signed-off-by: NJason Ekstrand <jason@jlekstrand.net>
      Cc: <stable@vger.kernel.org> # v5.6+
      Fixes: 9e31c1fe ("drm/i915: Propagate errors on awaiting already signaled fences")
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: NJon Bloomfield <jon.bloomfield@intel.com>
      Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210714193419.1459723-2-jason@jlekstrand.net
      93b71330
  4. 09 7月, 2021 5 次提交
  5. 21 6月, 2021 1 次提交
    • D
      drm/i915/eb: Fix pagefault disabling in the first slowpath · ca319ee9
      Daniel Vetter 提交于
      In
      
      commit ebc0808f
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Tue Oct 18 13:02:51 2016 +0100
      
          drm/i915: Restrict pagefault disabling to just around copy_from_user()
      
      we entirely missed that there's a slow path call to eb_relocate_entry
      (or i915_gem_execbuffer_relocate_entry as it was called back then)
      which was left fully wrapped by pagefault_disable/enable() calls.
      Previously any issues with blocking calls where handled by the
      following code:
      
      	/* we can't wait for rendering with pagefaults disabled */
      	if (pagefault_disabled() && !object_is_idle(obj))
      		return -EFAULT;
      
      Now at this point the prefaulting was still around, which means in
      normal applications it was very hard to hit this bug. No idea why the
      regressions in igts weren't caught.
      
      Now this all changed big time with 2 patches merged closely together.
      
      First
      
      commit 2889caa9
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Fri Jun 16 15:05:19 2017 +0100
      
          drm/i915: Eliminate lots of iterations over the execobjects array
      
      removes the prefaulting from the first relocation path, pushing it into
      the first slowpath (of which this patch added a total of 3 escalation
      levels). This would have really quickly uncovered the above bug, were
      it not for immediate adding a duct-tape on top with
      
      commit 7dd4f672
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Fri Jun 16 15:05:24 2017 +0100
      
          drm/i915: Async GPU relocation processing
      
      by pushing all all the relocation patching to the gpu if the buffer
      was busy, which avoided all the possible blocking calls.
      
      The entire slowpath was then furthermore ditched in
      
      commit 7dc8f114
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Wed Mar 11 16:03:10 2020 +0000
      
              drm/i915/gem: Drop relocation slowpath
      
      and resurrected in
      
      commit fd1500fc
      Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Date:   Wed Aug 19 16:08:43 2020 +0200
      
              Revert "drm/i915/gem: Drop relocation slowpath".
      
      but this did not further impact what's going on.
      
      Since pagefault_disable/enable is an atomic section, any sleeping in
      there is prohibited, and we definitely do that without gpu relocations
      since we have to wait for the gpu usage to finish before we can patch
      up the relocations.
      Reviewed-by: NMatthew Auld <matthew.auld@intel.com>
      Reviewed-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Cc: Jon Bloomfield <jon.bloomfield@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
      Cc: Matthew Auld <matthew.auld@intel.com>
      Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Jason Ekstrand <jason@jlekstrand.net>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210618214503.1773805-1-daniel.vetter@ffwll.ch
      ca319ee9
  6. 17 6月, 2021 1 次提交
  7. 14 6月, 2021 1 次提交
  8. 06 6月, 2021 2 次提交
  9. 14 4月, 2021 1 次提交
  10. 25 3月, 2021 3 次提交
  11. 24 3月, 2021 3 次提交
  12. 18 3月, 2021 2 次提交
  13. 20 1月, 2021 1 次提交
  14. 09 1月, 2021 1 次提交
  15. 05 1月, 2021 1 次提交
  16. 03 1月, 2021 1 次提交
  17. 24 12月, 2020 1 次提交
  18. 18 12月, 2020 1 次提交
  19. 16 12月, 2020 2 次提交
  20. 08 12月, 2020 2 次提交
  21. 04 12月, 2020 1 次提交
  22. 20 10月, 2020 1 次提交
  23. 16 10月, 2020 1 次提交
  24. 01 10月, 2020 1 次提交
  25. 29 9月, 2020 1 次提交
  26. 10 9月, 2020 1 次提交
  27. 08 9月, 2020 1 次提交