Messages in this thread | | | Date | Wed, 8 Mar 2023 19:13:13 +0100 | Subject | Re: [PATCH RFC 11/18] drm/scheduler: Clean up jobs when the scheduler is torn down | From | Christian König <> |
| |
Am 08.03.23 um 18:39 schrieb alyssa@rosenzweig.io: >> You can't ask me for a list >> of pending jobs (the scheduler knows this, it doesn't make any sense to >> duplicate that outside) > Silly question: could you add a new exported function to drm_sched to get the list of pending jobs, to be used by the Rust abstraction internally? IDK if that makes any sense.
I was thinking about something similar as well. The problem is that you could only use this function from the scheduler thread itself, e.g. from one of its callback functions.
Christian.
| |