[PATCH RFC 11/18] drm/scheduler: Clean up jobs when the scheduler is torn down

Christian König christian.koenig at amd.com
Wed Mar 8 18:13:13 UTC 2023


Am 08.03.23 um 18:39 schrieb alyssa at 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.


More information about the dri-devel mailing list