Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411194

Fence array patchset

From Christian König <deathsimple@vodafone.de>
Newsgroups linux.kernel
Subject Fence array patchset
Date 2016-06-01 15:20 +0200
Message-ID <rFedX-qG-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi guys,

this is the next iteration of the fence array patch set.

Daniel suggested that I provide an example on how this functionality might be
used by a driver. So I added a few additional patches in this series to show
what I want to do with this in the amdgpu driver.

The main idea is that for each VMID we have a set of hardware fences which are
currently using this VMID. Now when a new command submission needs a VMID we
construct a fence array which should signal when any of the VMIDs becomes
available and gives that back to our the scheduler.

This effort and my testing also found a rather stupid typo in the code and I
also tried to incorporate the comments from Chris and Daniel as well.

I think it's ready to land now, but as usual feel free to take it apart.

Cheers,
Christian.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Fence array patchset Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  [PATCH 02/11] dma-buf/fence: add fence_array fences v6 Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
    Re: [PATCH 02/11] dma-buf/fence: add fence_array fences v6 Gustavo Padovan <gustavo@padovan.org> - 2016-06-01 16:10 +0200
    Re: [PATCH 02/11] dma-buf/fence: add fence_array fences v6 Gustavo Padovan <gustavo@padovan.org> - 2016-06-01 17:30 +0200
      Re: [PATCH 02/11] dma-buf/fence: add fence_array fences v6 Sumit Semwal <sumit.semwal@linaro.org> - 2016-06-01 18:30 +0200
        Re: [PATCH 02/11] dma-buf/fence: add fence_array fences v6 Daniel Vetter <daniel@ffwll.ch> - 2016-06-02 00:50 +0200
          Re: [PATCH 02/11] dma-buf/fence: add fence_array fences v6 Christian König <deathsimple@vodafone.de> - 2016-06-02 09:30 +0200
  [PATCH 07/11] drm/amdgpu: add optional ring to amdgpu_sync_is_idle Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  [PATCH 04/11] drm/amdgpu: document amdgpu_sync_get_fence Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  [PATCH 10/11] drm/amdgpu: use a fence array for VMID management Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  [PATCH 06/11] drm/amdgpu: remove amdgpu_sync_wait Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  [PATCH 05/11] drm/amdgpu: generalize the scheduler fence Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  [PATCH 08/11] drm/amdgpu: prefer VMIDs idle on the current ring Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  [PATCH 11/11] drm/amdgpu: remove now unnecessary checks Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
    Re: [PATCH 11/11] drm/amdgpu: remove now unnecessary checks Alex Deucher <alexdeucher@gmail.com> - 2016-06-06 23:20 +0200
  [PATCH 01/11] dma-buf/fence: make fence context 64 bit v2 Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
    Re: [PATCH 01/11] dma-buf/fence: make fence context 64 bit v2 Gustavo Padovan <gustavo@padovan.org> - 2016-06-01 17:30 +0200
  [PATCH 09/11] drm/amdgpu: reuse VMIDs assigned to a VM only if there is also a free one Christian König <deathsimple@vodafone.de> - 2016-06-01 15:20 +0200
  Re: Fence array patchset Alex Deucher <alexdeucher@gmail.com> - 2016-06-01 15:50 +0200

csiph-web