[PATCH 0/4] AMDGPU userqueue suspend/resume

Shashank Sharma shashank.sharma at amd.com
Wed May 8 20:28:33 UTC 2024


This patch series adds support for suspending and resuming the gfx
usermode queues. It also adds eviction fences which are primarily used
by usermode queues.

This patch series is dependent on basic AMDGPU usermode queue series
which is being reviewed here:
https://patchwork.freedesktop.org/series/113675/

Shashank Sharma (4):
  drm/amdgpu: add gfx eviction fence helpers
  drm/amdgpu: add core userqueue suspend/resume functions
  drm/amdgpu: suspend gfx userqueues
  drm/amdgpu: add userqueue resume

 drivers/gpu/drm/amd/amdgpu/Makefile           |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  21 ++
 .../drm/amd/amdgpu/amdgpu_eviction_fence.c    | 112 ++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c       |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c       |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h    |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 243 ++++++++++++++++++
 .../gpu/drm/amd/amdgpu/mes_v11_0_userqueue.c  |  31 +++
 .../gpu/drm/amd/include/amdgpu_userqueue.h    |  12 +
 9 files changed, 437 insertions(+), 3 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c

-- 
2.43.2



More information about the amd-gfx mailing list