diff options
| author | Tvrtko Ursulin <tvrtko.ursulin@igalia.com> | 2026-04-17 11:37:24 +0100 |
|---|---|---|
| committer | Philipp Stanner <phasta@kernel.org> | 2026-04-17 14:43:28 +0200 |
| commit | 8637ddeeb4bbd48dafa1be316d8296e8d49e7521 (patch) | |
| tree | 4b6aa89f1c717fed7ff128e4b209d1b4b7f1cfdb /include/linux/timerqueue.h | |
| parent | fd177135f0e62344f5d0ad3b12d40f8f7e5cdaab (diff) | |
drm/sched: Remove idle entity from tree
There is no need to keep entities with no jobs in the tree so lets remove
it once the last job is consumed. This keeps the tree smaller which is
nicer and more efficient as entities are removed and re-added on every
popped job.
Apart from that, the upcoming fair scheduling algorithm will rely on the
tree only containing runnable entities.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Philipp Stanner <phasta@kernel.org>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Tested-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patch.msgid.link/20260417103744.76020-10-tvrtko.ursulin@igalia.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
