On Wed Feb 11, 2026 at 12:12 PM CET, Boris Brezillon wrote: > On Wed, 11 Feb 2026 12:00:30 +0100 > "Danilo Krummrich" <[email protected]> wrote: >> I.e. sharing a workqueue between JobQs is fine, but we have to ensure they >> can't >> be used for anything else. > > Totally agree with that, and that's where I was going with this special > DmaFenceWorkqueue wrapper/abstract, that would only accept > scheduling MaySignalDmaFencesWorkItem objects.
Not sure if it has to be that complicated (for a first shot). At least for the JobQ it would probably be enough to have a helper to create a new, let's say, struct JobQueueWorker that encapsulates a (reference counted) workqueue, but does not give access to it outside of jobq.rs.
