1. 29 Jun, 2021 20 commits
  2. 28 Jun, 2021 1 commit
  3. 24 Jun, 2021 17 commits
  4. 23 Jun, 2021 2 commits
    • Daniel Vetter's avatar
      drm/panfrost: Fix implicit sync · 7601d53c
      Daniel Vetter authored
      Currently this has no practial relevance I think because there's not
      many who can pull off a setup with panfrost and another gpu in the
      same system. But the rules are that if you're setting an exclusive
      fence, indicating a gpu write access in the implicit fencing system,
      then you need to wait for all fences, not just the previous exclusive
      fence.
      
      panfrost against itself has no problem, because it always sets the
      exclusive fence (but that's probably something that will need to be
      fixed for vulkan and/or multi-engine gpus, or you'll suffer badly).
      Also no problem with that against display.
      
      With the prep work done to switch over to the dependency helpers this
      is now a oneliner.
      Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Cc: Steven Price <steven.price@arm.com>
      Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: linux-media@vger.kernel.org
      Cc: linaro-mm-sig@lists.linaro.org
      Link: https://patchwork.freedesktop.org/patch/msgid/20210622165511.3169559-7-daniel.vetter@ffwll.ch
      7601d53c
    • Daniel Vetter's avatar
      drm/panfrost: Use xarray and helpers for depedency tracking · 7d7a0fc4
      Daniel Vetter authored
      More consistency and prep work for the next patch.
      
      Aside: I wonder whether we shouldn't just move this entire xarray
      business into the scheduler so that not everyone has to reinvent the
      same wheels. Cc'ing some scheduler people for this too.
      
      v2: Correctly handle sched_lock since Lucas pointed out it's needed.
      
      v3: Rebase, dma_resv_get_excl_unlocked got renamed
      
      v4: Don't leak job references on failure (Steven).
      Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: Luben Tuikov <luben.tuikov@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Lee Jones <lee.jones@linaro.org>
      Cc: Steven Price <steven.price@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: linux-media@vger.kernel.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210622165511.3169559-6-daniel.vetter@ffwll.ch
      7d7a0fc4