https://bugzilla.redhat.com/show_bug.cgi?id=2571398
--- Comment #4 from Americo Simoes <[email protected]> --- 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 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2571398 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202571398%23c4 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
