diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2025-12-09 12:00:38 -0800 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2025-12-13 00:34:20 -0800 |
| commit | 38b069333b58c86b7588d59cc55a065611190926 (patch) | |
| tree | c92084dff459c6eb9cc078fff1e1c97d3241045f /include/linux/livepatch_external.h | |
| parent | 343f5683cfa443000904c88ce2e23656375fc51c (diff) | |
drm/sched: Add several job helpers to avoid drivers touching scheduler state
In the past, drivers used to reach into scheduler internals—this must
end because it makes it difficult to change scheduler internals, as
driver-side code must also be updated.
Add helpers to check if the scheduler is stopped and to query a job’s
signaled state to avoid reaching into scheduler internals. These are
expected to be used driver-side in recovery and debug flows.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Link: https://patch.msgid.link/20251209200039.1366764-2-matthew.brost@intel.com
Diffstat (limited to 'include/linux/livepatch_external.h')
0 files changed, 0 insertions, 0 deletions
