From: Rob Clark <robdclark@xxxxxxxxxxxx> Add an initial set of tests for the gpu SUBMIT ioctl. There is plenty more we can add, but need to start somewhere. Rob Clark (3): drmtest: Add DRIVER_MSM support msm: Add helper library msm: Add submit ioctl tests lib/drmtest.c | 3 + lib/drmtest.h | 1 + lib/igt_msm.c | 163 +++++++++++++++++++++++++++++++++++++++ lib/igt_msm.h | 128 ++++++++++++++++++++++++++++++ lib/meson.build | 1 + tests/meson.build | 1 + tests/msm_submit.c | 188 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 485 insertions(+) create mode 100644 lib/igt_msm.c create mode 100644 lib/igt_msm.h create mode 100644 tests/msm_submit.c -- 2.31.1