[PATCH 0/6] Experimental P2P buffer sharing v3

Felix Kuehling felix.kuehling at amd.com
Thu Aug 3 20:01:57 UTC 2017


I think we had verbal agreement at our meeting in Markham that this
patch series is probably OK to submit. But I still don't have an
official "go ahead and submit".

Patch #1 has been reviewed by Daniel and Christian and should be good to go.

Patch #2, 4, 5 are reviewed by me, but I'd prefer to have an Acked-by an
amdgpu developer.

Patch #3, 6 are signed off by both me and Christian and need someone
else's Acked-by or Reviewed-by.

In patch 4 I needed to move some stuff around after Christian moved
struct amdgpu_bo into amdgpu_object.h Do you want me to resend the whole
patch series rebased on current amd-kfd-staging-4.11?

Thanks,
  Felix


On 17-07-18 10:22 PM, Felix Kuehling wrote:
> This patch series adds experimental P2P buffer sharing in amdgpu. It's
> disabled by default and can be enabled with amdgpu.p2p_sharing=1.
>
> v2:
> * Changed drm helper function to cast to GEM object
> * Added foreign BO checks to DC code paths
> * Updated commit message for amdgpu_cs change
>
> v3:
> * Use drm_gem_prime_dmabuf_to_object helper in drm_gem_prime_import
>
> Amber Lin (1):
>   drm/amdgpu: handle foreign BOs in the VM mapping
>
> Christian König (4):
>   drm/amdgpu: disallow foreign BOs for CS w/o GPUVM mapping
>   drm/amdgpu: disallow foreign BOs in the display path v2
>   drm/amdgpu: separate BO from GEM object
>   drm/amdgpu: enable foreign DMA-buf objects v2
>
> Felix Kuehling (1):
>   drm: Add helper to cast DMA-buf to GEM object v2
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu.h                | 16 ++++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |  3 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_display.c        |  6 ++
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |  6 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            | 41 ++++++++---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_object.c         |  7 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c          | 80 +++++++++++++++++++++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            | 17 ++++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             | 17 +++--
>  drivers/gpu/drm/amd/amdgpu/dce_v10_0.c             |  5 ++
>  drivers/gpu/drm/amd/amdgpu/dce_v11_0.c             |  5 ++
>  drivers/gpu/drm/amd/amdgpu/dce_v6_0.c              |  5 ++
>  drivers/gpu/drm/amd/amdgpu/dce_v8_0.c              |  5 ++
>  .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c    |  5 ++
>  drivers/gpu/drm/drm_prime.c                        | 43 +++++++++---
>  include/drm/drmP.h                                 |  2 +
>  16 files changed, 227 insertions(+), 36 deletions(-)
>



More information about the amd-gfx mailing list