From: Melissa Wen <mwen@igalia.com>
To: "Maíra Canal" <mcanal@igalia.com>
Cc: Rob Clark <robdclark@chromium.org>,
igt-dev@lists.freedesktop.org,
Petri Latvala <petri.latvala@intel.com>,
Tomeu Vizoso <tomeu.vizoso@collabora.com>,
Iago Toral Quiroga <itoral@igalia.com>
Subject: Re: [igt-dev] [PATCH i-g-t 0/3] V3D Mixed Job Submission Tests
Date: Wed, 8 Feb 2023 09:31:27 -0100 [thread overview]
Message-ID: <20230208103101.xetna4f5r2mqrugc@mail.igalia.com> (raw)
In-Reply-To: <20230113124453.196280-1-mcanal@igalia.com>
[-- Attachment #1.1: Type: text/plain, Size: 1954 bytes --]
On 01/13, Maíra Canal wrote:
> Currently, the V3D tests only support CL job submissions [1], 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.
>
> [1] This series depends on https://patchwork.freedesktop.org/series/112363/
Hi Maíra,
Thanks for the extensive testing.
I just commented about a minor improvement for threaded-submission test.
With this in the next version, you can add:
Reviewed-by: Melissa Wen <mwen@igalia.com>
Thanks,
Melissa
>
> 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 | 60 ++++++
> lib/igt_v3d.h | 20 ++
> tests/v3d/meson.build | 2 +
> tests/v3d/v3d_job_submission.c | 212 ++++++++++++++++++++
> tests/v3d/v3d_submit_csd.c | 357 +++++++++++++++++++++++++++++++++
> tests/v3d_ci/v3d.testlist | 21 ++
> 6 files changed, 672 insertions(+)
> create mode 100644 tests/v3d/v3d_job_submission.c
> create mode 100644 tests/v3d/v3d_submit_csd.c
>
> --
> 2.39.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2023-02-08 10:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 12:44 [igt-dev] [PATCH i-g-t 0/3] V3D Mixed Job Submission Tests Maíra Canal
2023-01-13 12:44 ` [igt-dev] [PATCH i-g-t 1/3] lib/v3d: Add a helper to create a empty shader Maíra Canal
2023-02-10 13:31 ` Kamil Konieczny
2023-01-13 12:44 ` [igt-dev] [PATCH i-g-t 2/3] tests/v3d_submit_csd: Create test for V3D's Submit CSD IOCTL Maíra Canal
2023-01-13 12:44 ` [igt-dev] [PATCH i-g-t 3/3] tests/v3d_job_submission: Create tests to mix CL and CSD jobs Maíra Canal
2023-02-08 10:27 ` Melissa Wen
2023-01-13 13:23 ` [igt-dev] ✗ Fi.CI.BUILD: failure for V3D Mixed Job Submission Tests Patchwork
2023-02-07 14:17 ` [igt-dev] ✓ Fi.CI.BAT: success for V3D Mixed Job Submission Tests (rev2) Patchwork
2023-02-07 16:11 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-02-08 10:31 ` Melissa Wen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230208103101.xetna4f5r2mqrugc@mail.igalia.com \
--to=mwen@igalia.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=itoral@igalia.com \
--cc=mcanal@igalia.com \
--cc=petri.latvala@intel.com \
--cc=robdclark@chromium.org \
--cc=tomeu.vizoso@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox