[PATCH 0/6] Experimental P2P buffer sharing v3

Felix Kuehling Felix.Kuehling at amd.com
Wed Jul 19 02:22:07 UTC 2017


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(-)

-- 
1.9.1



More information about the dri-devel mailing list