]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/sched: Update timedout_job()'s documentation
authorPhilipp Stanner <phasta@kernel.org>
Wed, 5 Mar 2025 13:05:52 +0000 (14:05 +0100)
committerPhilipp Stanner <phasta@kernel.org>
Thu, 6 Mar 2025 15:36:32 +0000 (16:36 +0100)
commit2eeed61db4550171a32854e4d3fdf974b749c214
treea889d1f8a138ace05b85c4f6f3add91a2cbb8381
parent72ebc18b34993777bd6473be36cd63f37b3574ba
drm/sched: Update timedout_job()'s documentation

drm_sched_backend_ops.timedout_job()'s documentation is outdated. It
mentions the deprecated function drm_sched_resubmit_jobs(). Furthermore,
it does not point out the important distinction between hardware and
firmware schedulers.

Since firmware schedulers typically only use one entity per scheduler,
timeout handling is significantly more simple because the entity the
faulted job came from can just be killed without affecting innocent
processes.

Update the documentation with that distinction and other details.

Reformat the docstring to work to a unified style with the other
handles.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250305130551.136682-5-phasta@kernel.org
include/drm/gpu_scheduler.h