Bug 2571398
| Summary: | Review Request: copperlist - Copper-style trigger-list sequencer for the i915 BLT ring | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Americo Simoes <amexsimoes> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | amexsimoes, package-review, terjeros |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 177841 | ||
|
Description
Americo Simoes
2026-11-10 23:28:01 UTC
Superseding the URLs in the description — v0.1.2's %check ran the GPU test unconditionally in mock (copr_projectname is not defined there), which is why fedora-review failed with "renderD128: No such file or directory". v0.1.3's %check tests for /dev/dri/renderD128 directly and skips with a note in mock, so the review build can proceed past %check. Spec URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11301615/copperlist.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11301615/copperlist-0.1.3-1.src.rpm v0.1.4 supersedes v0.1.3. Changes: spelling (the-level's, status quo's), %%check escaped in older changelog entries. %check in mock: SKIP: no /dev/dri/renderD128 in buildroot; audit test requires a render node The test runs and passes where the node exists (local rpmbuild and Copr builds with device access); it skips with an explicit note where it does not, rather than swallowing the failure. The bundling MUST item is acknowledged and is the real blocker: vendor/chipmem and vendor/blit are copies of the-level, which is under review at bug 2569282. copperlist will switch to BuildRequires: the-level-devel and drop vendor/ once the-level is accepted. Until then this package cannot close its review. Spec URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/<new-id>/copperlist.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/<new-id>/copperlist-0.1.4-1.src.rpm v0.1.4 supersedes v0.1.3. Changes: spelling (the-level's, status quo's), %%check escaped in older changelog entries. %check in mock: SKIP: no /dev/dri/renderD128 in buildroot; audit test requires a render node The test runs and passes where the node exists (local rpmbuild and Copr builds with device access); it skips with an explicit note where it does not, rather than swallowing the failure. The bundling MUST item is acknowledged and is the real blocker: vendor/chipmem and vendor/blit are copies of the-level, which is under review at bug 2569282. copperlist will switch to BuildRequires: the-level-devel and drop vendor/ once the-level is accepted. Until then this package cannot close its review. Spec URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11301736/copperlist.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11301736/copperlist-0.1.4-1.src.rpm Integration testing (pipeline-test: reach + chipmem + copperlist, an
8-link 2D chain) found a correctness bug in 0.1.4:
copper_seq_submit built 2N exec objects, one src and one dst per
link. A buffer that is link i-1's dst and link i's src appeared
twice in the exec array. On Gen9 the duplicate's flags can override
the first occurrence's, losing EXEC_OBJECT_WRITE and silently
dropping the intermediate write. The final buffer of a chain was
correct by accident (every link copied the same idempotent pattern);
every intermediate buffer was wrong. t_copper.c only checked the
final buffer, so its PASS did not catch this.
Fixed in v0.1.5: deduplicate by GEM handle, OR EXEC_OBJECT_WRITE
across occurrences, rewrite link offsets to the deduplicated slots
before the batch is emitted. t_copper.c now checks every buffer in
the chain, not just the final one.
Measured after the fix, 8 links, 50 runs per batch, 0 data
mismatches, every buffer checked, across four independent batches:
per-link range: 18193 .. 35852 ns
ratio: 6.25x .. 12.31x vs 223904 ns/link for per-link
submission
The range is wider than the pre-fix 2.59x-4.99x because the dedup
removed per-link work: the fixed batch-setup cost is the same
absolute variance divided into a smaller total. A single batch is a
sample; the finding is the range.
The other open item is unchanged: vendor/chipmem + vendor/blit are
copies of the-level, under review at bug 2569282. copperlist will
switch to BuildRequires: the-level-devel and drop vendor/ once
the-level is accepted. Until then this package cannot close its
review.
%check in mock:
SKIP: no /dev/dri/renderD128 in buildroot
The test runs where the node exists (local rpmbuild: PASS) and skips
with an explicit note where it does not.
v0.1.5 (Copr build 11309452):
Spec URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11309452/copperlist.spec
SRPM URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11309452/copperlist-0.1.5-1.src.rpm
v0.1.7 supersedes v0.1.5. Code is unchanged from v0.1.5; the only change is a documented limitation in copper.h: copper_seq_add assigns each link a 2 MiB slot from the link index, not from the pointer's offset within its buffer. Chains work for N distinct buffers; they do not work for N regions of one buffer. Found by copper-train (120 regions of one 4 MB tensor: region 0 correct, every later region zero, at every link count from 2 to 32). This release documents the limitation. It does not fix it. A fix requires the API to take (buffer, offset) rather than a raw pointer, which is a v0.2.0 change. Spec: <new copr url>/copperlist.spec SRPM: <new copr url>/copperlist-0.1.7-1.src.rpm There seems to be some problem with the following file. SRPM URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/%3Cnew-id%3E/copperlist-0.1.4-1.src.rpm Fetching it results in a 404 Not Found error. Please make sure the URL is correct and publicly available. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string. Corrected URLs for v0.1.7 from Copr build 11317874 (replacing the placeholder in previous comments): Spec URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11317874/copperlist.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/copperlist/srpm-builds/11317874/copperlist-0.1.7-1.src.rpm |