Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v3 0/3] V3D Mixed Job Submission Tests
@ 2023-02-10 17:46 Maíra Canal
  2023-02-10 17:46 ` [igt-dev] [PATCH i-g-t v3 1/3] lib/v3d: Add a helper to create a empty shader Maíra Canal
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Maíra Canal @ 2023-02-10 17:46 UTC (permalink / raw)
  To: Melissa Wen, André Almeida, Petri Latvala, Kamil Konieczny,
	Iago Toral Quiroga
  Cc: igt-dev

Currently, the V3D tests only support CL job submissions, while V3D has also
capabilities for CSD and TFU jobs. Therefore, create tests for
DRM_IOCTL_V3D_SUBMIT_CSD, an ioctl for dispatching compute shader jobs to the
GPU. In order to create a simple CSD job, I hard-coded the pipeline assembly
shader of an empty shader in order to reproduce a shader and be able to create
an acceptable packet that can be sent to the GPU.

So, patch 1 introduces a helper function to submit a minimal CSD job to the GPU,
which will be useful for the tests. The minimal job will use the pipeline
assembly shader of an empty shader. Patches 2-3 will include new tests in the
V3D test suite for DRM_IOCTL_V3D_SUBMIT_CSD and create tests that mix different
types of jobs, in order to evaluate the synchronization between the two types of
jobs. 

v1 -> v2:

- Add a progress bar to the "threaded-job-submission" sub-test (Melissa Wen).
- Fix checkpatch issues.

v2 -> v3:

- Add descriptions to all the public functions added (Kamil Konieczny).

Best Regards,
- Maíra Canal

Maíra Canal (3):
  lib/v3d: Add a helper to create a empty shader
  tests/v3d_submit_csd: Create test for V3D's Submit CSD IOCTL
  tests/v3d_job_submission: Create tests to mix CL and CSD jobs

 lib/igt_v3d.c                  |  75 +++++++
 lib/igt_v3d.h                  |  20 ++
 tests/v3d/meson.build          |   2 +
 tests/v3d/v3d_job_submission.c | 218 ++++++++++++++++++++
 tests/v3d/v3d_submit_csd.c     | 362 +++++++++++++++++++++++++++++++++
 tests/v3d_ci/v3d.testlist      |  21 ++
 6 files changed, 698 insertions(+)
 create mode 100644 tests/v3d/v3d_job_submission.c
 create mode 100644 tests/v3d/v3d_submit_csd.c

-- 
2.39.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-02-14 21:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 17:46 [igt-dev] [PATCH i-g-t v3 0/3] V3D Mixed Job Submission Tests Maíra Canal
2023-02-10 17:46 ` [igt-dev] [PATCH i-g-t v3 1/3] lib/v3d: Add a helper to create a empty shader Maíra Canal
2023-02-10 17:46 ` [igt-dev] [PATCH i-g-t v3 2/3] tests/v3d_submit_csd: Create test for V3D's Submit CSD IOCTL Maíra Canal
2023-02-14 21:33   ` Kamil Konieczny
2023-02-10 17:46 ` [igt-dev] [PATCH i-g-t v3 3/3] tests/v3d_job_submission: Create tests to mix CL and CSD jobs Maíra Canal
2023-02-14 21:44   ` Kamil Konieczny
2023-02-10 18:27 ` [igt-dev] ✓ Fi.CI.BAT: success for V3D Mixed Job Submission Tests (rev4) Patchwork
2023-02-11 12:42 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox