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


Groups > linux.kernel > #1411231

Re: Fence array patchset

From Alex Deucher <alexdeucher@gmail.com>
Newsgroups linux.kernel
Subject Re: Fence array patchset
Date 2016-06-01 15:50 +0200
Message-ID <rFeGZ-BQ-3@gated-at.bofh.it> (permalink)
References <rFedX-qG-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 1, 2016 at 9:10 AM, Christian König <deathsimple@vodafone.de> wrote:
> 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.

For those that are not familiar, a VMID = Virtual Memory ID.  AMD GPUs
have multiple virtual address space contexts which can be in flight on
the GPU at any given time.  The VMID is used to select which VM
context you want to use for a specific GPU operation.

Alex

>
> 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.
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

Back to linux.kernel | Previous | NextPrevious 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