[PATCH v3 0/4] Various fixes to pass libdrm hotunplug tests

Andrey Grodzovsky andrey.grodzovsky at amd.com
Fri Aug 27 20:39:06 UTC 2021


Bunch of fixes to enable passing hotplug tests i previosly added
here[1] with latest code. 
Once accepted I will enable the tests on libdrm side.

[1] - https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/172

v2:
Dropping VCE patch since relevant function already fixed in latest
code.
Moving IOMMU hnadling to TTM layer.

v3:
Move pinned list to ttm device and a few others.

Andrey Grodzovsky (4):
  drm/ttm: Create pinned list
  drm/ttm: Clear all DMA mappings on demand
  drm/amdgpu: drm/amdgpu: Handle IOMMU enabled case
  drm/amdgpu: Add a UAPI flag for hot plug/unplug

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c    |  3 +-
 drivers/gpu/drm/ttm/ttm_bo.c               | 18 ++++++--
 drivers/gpu/drm/ttm/ttm_device.c           | 48 ++++++++++++++++++++++
 include/drm/ttm/ttm_device.h               |  2 +
 5 files changed, 68 insertions(+), 5 deletions(-)

-- 
2.25.1



More information about the dri-devel mailing list