mbox series

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

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

Message

Andrey Grodzovsky Aug. 26, 2021, 5:27 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

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

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               | 30 +++++++++++++--
 drivers/gpu/drm/ttm/ttm_device.c           | 45 ++++++++++++++++++++++
 drivers/gpu/drm/ttm/ttm_resource.c         |  1 +
 include/drm/ttm/ttm_device.h               |  1 +
 include/drm/ttm/ttm_resource.h             |  1 +
 7 files changed, 78 insertions(+), 5 deletions(-)

Comments

Andrey Grodzovsky Aug. 27, 2021, 6:12 p.m. UTC | #1
Ping

Andrey

On 2021-08-26 1:27 p.m., Andrey Grodzovsky wrote:
> 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.
>
> 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               | 30 +++++++++++++--
>   drivers/gpu/drm/ttm/ttm_device.c           | 45 ++++++++++++++++++++++
>   drivers/gpu/drm/ttm/ttm_resource.c         |  1 +
>   include/drm/ttm/ttm_device.h               |  1 +
>   include/drm/ttm/ttm_resource.h             |  1 +
>   7 files changed, 78 insertions(+), 5 deletions(-)
>