Skip to content

amdgpu CRIU igts and more

Tvrtko Ursulin igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm-uapi/amdgpu: Sync with upstream headerinclude/drm-uapi/amdgpu_drm.h lib/amdgpu/amd_command_submission.c lib/amdgpu/amd_compute.c +2 more+159 -471 reply
2/10tests/amd/gem_list_handles: Add basic test for DRM_IOCTL_AMDGPU_GEM_LIST_HANDLEStests/amdgpu/amd_list_handles.c tests/amdgpu/meson.build+150 -02 replies
3/10tests/amd/gem_list_handles: Test the userptr flagtests/amdgpu/amd_list_handles.c+47 -121 reply
4/10tests/amd/gem_list_contexts: Add basic test for DRM_IOCTL_AMDGPU_GEM_LIST_CONTEXTStests/amdgpu/amd_list_contexts.c tests/amdgpu/meson.build+234 -01 reply
5/10tests/amd/criu: Add some basic test casestests/amdgpu/amd_criu.c tests/amdgpu/meson.build+124 -04 replies
6/10tests/amd/criu: Test with more than one buffertests/amdgpu/amd_criu.c+42 -200 replies
7/10tests/amd/criu: Add userptr teststests/amdgpu/amd_criu.c+106 -90 replies
8/10tests/amd/criu: Add context handling teststests/amdgpu/amd_criu.c+55 -60 replies
9/10tests/amd/criu: Add a busy client testtests/amdgpu/amd_criu.c+57 -00 replies
10/10tests/amd/criu: Add buffer object content verification teststests/amdgpu/amd_criu.c+43 -20 replies

Reviews trailers per patch

3 of 10 patches have a Reviewed-by or Acked-by.

PatchDavid Francis
1/10R-b
2/10R-b
3/10R-b
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 00/10] amdgpu CRIU igts and more

I'll be out for a week so sending this a bit incomplete in case you want to review. What is missing are test cases for context change handle and driver managed copy.

Patch 1 - Independent fix.

Patch 2 - Adds missing coverage for existing DRM_IOCTL_AMDGPU_GEM_LIST_HANDLES.

So 1 & 2 can be reviewed and pulled in regardless.

Patches 3 & 4 - Coverage for UAPI I add in the CRIU series, this one:
https://lore.kernel.org/amd-gfx/[email protected]/

Patches 5-10 - This is my manual test I use to test the render node CRIU end-to-end. Basically subtests are test scenarios which set up things and then wait for me to trigger the dump. Then you restore and the test finishes.

Tvrtko Ursulin (10):
drm-uapi/amdgpu: Sync with upstream header tests/amd/gem_list_handles: Add basic test for
DRM_IOCTL_AMDGPU_GEM_LIST_HANDLES
tests/amd/gem_list_handles: Test the userptr flag tests/amd/gem_list_contexts: Add basic test for
DRM_IOCTL_AMDGPU_GEM_LIST_CONTEXTS
tests/amd/criu: Add some basic test cases tests/amd/criu: Test with more than one buffer tests/amd/criu: Add userptr tests
tests/amd/criu: Add context handling tests tests/amd/criu: Add a busy client test tests/amd/criu: Add buffer object content verification tests

 include/drm-uapi/amdgpu_drm.h       | 164 +++++++++---
 lib/amdgpu/amd_command_submission.c |  20 +-
 lib/amdgpu/amd_compute.c            |   4 +-
 lib/amdgpu/amd_deadlock_helpers.c   |   4 +-
 lib/amdgpu/amd_ip_blocks.h          |  14 +
 tests/amdgpu/amd_criu.c             | 389 ++++++++++++++++++++++++++++
 tests/amdgpu/amd_list_contexts.c    | 233 +++++++++++++++++
 tests/amdgpu/amd_list_handles.c     | 184 +++++++++++++
 tests/amdgpu/meson.build            |   3 +
 9 files changed, 968 insertions(+), 47 deletions(-)
 create mode 100644 tests/amdgpu/amd_criu.c
 create mode 100644 tests/amdgpu/amd_list_contexts.c
 create mode 100644 tests/amdgpu/amd_list_handles.c
Signature · 1 line
2.56.0