[pull] amdgpu drm-next-5.19 (bonus)

Alex Deucher alexander.deucher at amd.com
Thu May 26 20:25:46 UTC 2022


Hi Dave, Daniel,

This is an additional pull on top of the one I send a few minutes ago.
It adds a minor UAPI change and updates the fdinfo format to match
the generic drm fdinfo format.  They are pretty small, but if you'd prefer,
I can wait until next cycle.

The following changes since commit 62e9bd20035b53ff6c679499c08546d96c6c60a7:

  drm/amdgpu: add beige goby PCI ID (2022-05-26 14:56:33 -0400)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.19-2022-05-26-2

for you to fetch changes up to 9bdc1992c925a35c6f7200e8abe54e3f00ce7719:

  drm/amdgpu: add drm-client-id to fdinfo v2 (2022-05-26 14:56:34 -0400)

----------------------------------------------------------------
amd-drm-next-5.19-2022-05-26-2:

amdgpu:
- Update fdinfo to the common drm format

UAPI:
- Add VM_NOALLOC GPUVM attribute to prevent buffers for going into the MALL
  Add AMDGPU_GEM_CREATE_DISCARDABLE flag to create buffers that can be discarded on eviction
  Mesa code which uses these: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16466

----------------------------------------------------------------
Christian König (5):
      drm/amdgpu: add AMDGPU_GEM_CREATE_DISCARDABLE
      drm/amdgpu: add AMDGPU_VM_NOALLOC v2
      drm/amdgpu: bump minor version number
      drm/amdgpu: Convert to common fdinfo format v5
      drm/amdgpu: add drm-client-id to fdinfo v2

 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c    | 177 +++++++++++++++--------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h    |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c    |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c |  68 +++++------
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c    |   9 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h |   1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c    |   2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c     |   3 +
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c     |   3 +
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c       |   2 +-
 include/uapi/drm/amdgpu_drm.h              |   6 +
 12 files changed, 154 insertions(+), 135 deletions(-)


More information about the amd-gfx mailing list