]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/sched: Fix comment in drm_sched_run_job_work()
authorPhilipp Stanner <phasta@kernel.org>
Tue, 28 Oct 2025 13:46:01 +0000 (14:46 +0100)
committerPhilipp Stanner <phasta@kernel.org>
Fri, 31 Oct 2025 10:09:00 +0000 (11:09 +0100)
commit437b30db77460a3af41d4fd0398bd6ff03f910ae
tree969e8dc2a6ddeff38f58e33c507f0b29fd27ae2d
parent402b3a865090578f9245115e17ee230e01daf60e
drm/sched: Fix comment in drm_sched_run_job_work()

drm_sched_run_job_work() contains a comment which explains that an
entity being NULL means that there is no more work to do. It can,
however, also mean that there is work, but the scheduler doesn't have
enough credits to process the jobs right now.

Provide this detail in the comment.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patch.msgid.link/20251028134602.94125-3-phasta@kernel.org
drivers/gpu/drm/scheduler/sched_main.c