Skip to content

Commit 1b684ca

Browse files
bagasmePhilipp Stanner
authored andcommitted
drm/sched: Fix drm_sched_fini() docu generation
Commit baf4afc ("drm/sched: Improve teardown documentation") added a list of drm_sched_fini()'s problems. The list triggers htmldocs warning (but renders correctly in htmldocs output): Documentation/gpu/drm-mm:571: ./drivers/gpu/drm/scheduler/sched_main.c:1359: ERROR: Unexpected indentation. Separate the list from the preceding paragraph by a blank line to fix the warning. While at it, also end the aforementioned paragraph by a colon. Fixes: baf4afc ("drm/sched: Improve teardown documentation") Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Bagas Sanjaya <[email protected]> [phasta: Adjust commit message] Signed-off-by: Philipp Stanner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0f6482c commit 1b684ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/scheduler/sched_main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,8 @@ EXPORT_SYMBOL(drm_sched_init);
13551355
* drm_sched_backend_ops.run_job(). Consequently, drm_sched_backend_ops.free_job()
13561356
* will not be called for all jobs still in drm_gpu_scheduler.pending_list.
13571357
* There is no solution for this currently. Thus, it is up to the driver to make
1358-
* sure that
1358+
* sure that:
1359+
*
13591360
* a) drm_sched_fini() is only called after for all submitted jobs
13601361
* drm_sched_backend_ops.free_job() has been called or that
13611362
* b) the jobs for which drm_sched_backend_ops.free_job() has not been called

0 commit comments

Comments
 (0)