[V3 00/11] Add support AMD GPU virtualization soultion

Yu, Xiangliang Xiangliang.Yu at amd.com
Wed Jan 11 14:08:50 UTC 2017


> Patch #7 is missing a comment that this applies during driver load/unload,
> cause that isn't obvious.

Not just only for loading/unloading, resume process will need to request/release full gpu access after FLR (function level reset). Later I'll upstream FLR patches.

> 
> With that fixed the patch is Reviewed-by: Christian König
> <christian.koenig at amd.com> as well.
> 
> Patch #10 please add the comment that this is just a temporary workaround
> to the code as well.
> 
> With that fixed the patch is also Reviewed-by: Christian König
> <christian.koenig at amd.com>.
> 
> Regards,
> Christian.
> 
> Am 11.01.2017 um 14:18 schrieb Xiangliang Yu:
> > This patch series will enable AMD GPU virtualization and wires it into
> > amdgpu modules.
> >
> > Changes in V3:
> > 1. rename field name;
> > 2. remove extra fence_get()/fence_put(); 3. fixed coding style; 4.
> > update patch comment;
> >
> > Changes in V2:
> > 1. define new high level interface for non-asic specific; 2. add asic
> > specific file to support specific asic; 3. not include KIQ patch as it
> > has been merged into kernel; 4. not include CSA patch as monk will
> > submit it;
> >
> > Xiangliang Yu (11):
> >    drm/amdgpu/ring: add two interfaces to support r/w registers with kiq
> >    drm/amdgpu/gfx8: implement emit_rreg/wreg function
> >    drm/amdgpu/virt: add runtime flag
> >    drm/amdgpu/virt: use kiq to access registers
> >    drm/amdgpu/virt: add high level interfaces for virt
> >    drm/amdgpu/virt: implement VI virt operation interfaces
> >    drm/amdgpu: request/release full gpu access if device is vf
> >    drm/amdgpu/vi: add support virtualization
> >    drm/amdgpu/virt: enable virtual display
> >    drm/amdgpu/virt: disable dc
> >    drm/amdgpu: do not reset gpu for virtualization
> >
> >   drivers/gpu/drm/amd/amdgpu/Makefile        |   4 +-
> >   drivers/gpu/drm/amd/amdgpu/amdgpu.h        |   2 +
> >   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  21 +
> >   drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c    |   6 +
> >   drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h   |   2 +
> >   drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   | 146 +++++++
> >   drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h   |  30 +-
> >   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c      |  37 ++
> >   drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c      | 592
> +++++++++++++++++++++++++++++
> >   drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h      |  55 +++
> >   drivers/gpu/drm/amd/amdgpu/vi.c            |  35 +-
> >   11 files changed, 926 insertions(+), 4 deletions(-)
> >   create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
> >   create mode 100644 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
> >   create mode 100644 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
> >



More information about the amd-gfx mailing list