Please open a gitlab MR for these.
Alex
On Tue, Jun 1, 2021 at 4:17 PM Andrey Grodzovsky
<andrey.grodzovsky@amd.com> wrote:
>
> Adding some tests to acompany the recently added hot-unplug
> feature. For now the test suite is disabled until the feature
> propagates from drm-misc-next to drm-next.
>
> Andrey Grodzovsky (7):
> tests/amdgpu: Fix valgrind warning
> xf86drm: Add function to retrieve char device path
> test/amdgpu: Add helper functions for hot unplug
> test/amdgpu/hotunplug: Add test suite for GPU unplug
> test/amdgpu/hotunplug: Add basic test
> tests/amdgpu/hotunplug: Add unplug with cs test.
> tests/amdgpu/hotunplug: Add hotunplug with exported bo test
>
> tests/amdgpu/amdgpu_test.c | 42 +++-
> tests/amdgpu/amdgpu_test.h | 26 +++
> tests/amdgpu/basic_tests.c | 5 +-
> tests/amdgpu/hotunplug_tests.c | 357 +++++++++++++++++++++++++++++++++
> tests/amdgpu/meson.build | 1 +
> xf86drm.c | 23 +++
> xf86drm.h | 1 +
> 7 files changed, 450 insertions(+), 5 deletions(-)
> create mode 100644 tests/amdgpu/hotunplug_tests.c
>
> --
> 2.25.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
>
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Candrey.grodzovsky%40amd.com%7C8fb7f614798b4d19572e08d926d57530%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637583520507282588%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ozqlNQACGvLJugQ2GNvFl8CKgAH0thqMRpWjHpURlyc%3D&reserved=0