mbox series

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

Message ID 20210824210120.49812-1-andrey.grodzovsky@amd.com (mailing list archive)
Headers show
Series Various fixes to pass libdrm hotunplug tests | expand

Message

Andrey Grodzovsky Aug. 24, 2021, 9:01 p.m. UTC
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

Andrey Grodzovsky (4):
  drm/amdgpu: Move flush VCE idle_work during HW fini
  drm/ttm: Create pinned list
  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/amd/amdgpu/amdgpu_ttm.c    | 50 ++++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h    |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c    |  1 -
 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c      |  4 ++
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c      |  5 ++-
 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c      |  2 +
 drivers/gpu/drm/ttm/ttm_bo.c               | 24 +++++++++--
 drivers/gpu/drm/ttm/ttm_resource.c         |  1 +
 include/drm/ttm/ttm_resource.h             |  1 +
 11 files changed, 88 insertions(+), 6 deletions(-)