Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/reach/srpm-builds/11307429/reach.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/simoesctt/reach/srpm-builds/11307429/reach-0.1.0-1.src.rpm Description: reach answers one question cheaply: can this device reach this chipmem buffer, and will the access be zero-copy or copied? DRM_IOCTL_PRIME_FD_TO_HANDLE costs ~7 us per call on Skylake-U / kernel 7.2.13 (median 7021-8390 ns, p99 ~22.9 us), warm or cold, and returns a GEM handle without telling the caller whether the subsequent access will be zero-copy or copied. reach caches the reachability answer per (buffer, device) pair and records the cost class once, so a hot path pays the import once (~7 us) instead of per call. Measured cached query: ~43 ns (mean 40-43 ns over 1000 runs), ~175x cheaper than the ioctl. Not a restored kernel primitive: the import ioctl is the reachability test. reach adds a cache, because the ioctl is expensive, and a cost-class answer, because the ioctl cannot give one. Fedora Account System Username: SimoesCTT
The bundling MUST item is acknowledged and is the real blocker: vendor/chipmem is a copy of the-level, which is under review at bug 2569282. reach 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; the reach test requires a render node The test runs where the node exists (local rpmbuild) and skips with an explicit note where it does not.
Same MUST items as bug 2571398 (copperlist), same answers: - Bundled libraries: vendor/chipmem is a copy of the-level, under review at bug 2569282. reach will switch to BuildRequires: the-level-devel and drop vendor/ once the-level is accepted. Until then this package cannot close its review. - License / unknown-license files: the 29 files licensecheck cannot classify are the vendored sources. Same dependency; resolved by the same unbundling. - Header in non-devel package: reach ships reach.h in the base package, matching the-level's shape (bug 2569282), which Artur reviewed without making it a blocker. If a reviewer wants the -devel split, it should be done across the-level, copperlist, and reach together, not on one package alone. %check in mock: SKIP: no /dev/dri/renderD128; the reach test requires a render node The test runs where the node exists (local rpmbuild) and skips with an explicit note where it does not.