[PATCH 0/7] static CSA for SRIOV serials

Monk Liu Monk.Liu at amd.com
Mon Jan 9 08:02:55 UTC 2017


per device CSA is needed by world switch preemption for SRIOV virtualization
we create CSA per device, and map it on each VM in vm_init, and update CSA BO
bo_va in each submission.

*** BLURB HERE ***

Monk Liu (7):
  drm/amdgpu:add new file for SRIOV
  drm/amdgpu:new field members for SRIOV
  drm/amdgpu:impl static CSA alloc/dealloc
  drm/amdgpu:impl static CSA map/unmap routines
  drm/amdgpu:set static csa function
  drm/amdgpu:alloc/dealloc csa accordingly
  drm/amdgpu:map/unmap static csa accordingly

 drivers/gpu/drm/amd/amdgpu/Makefile        |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c     |  14 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |   7 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   | 142 +++++++++++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h   |  21 +++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c     |  11 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h     |   2 +
 drivers/gpu/drm/amd/amdgpu/vi.c            |   3 +
 8 files changed, 201 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c

-- 
2.7.4



More information about the amd-gfx mailing list