drm/sched: Rename drm_sched_get_cleanup_job to be more descriptive
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 2 Nov 2023 10:55:34 +0000 (10:55 +0000)
committerLuben Tuikov <ltuikov89@gmail.com>
Sun, 5 Nov 2023 01:17:42 +0000 (21:17 -0400)
commit7abbbe2694b3d4fd366dc91934f42c047a6d282d
tree3d83134ac5c84fb472147eaf3c233a2d307ff877
parent3b511278b6ef514b3ae3d99ff62947cddd434479
drm/sched: Rename drm_sched_get_cleanup_job to be more descriptive

"Get cleanup job" makes it sound like helper is returning a job which will
execute some cleanup, or something, while the kerneldoc itself accurately
says "fetch the next _finished_ job". So lets rename the helper to be self
documenting.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Luben Tuikov <ltuikov89@gmail.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231102105538.391648-2-tvrtko.ursulin@linux.intel.com
Reviewed-by: Luben Tuikov <ltuikov89@gmail.com>
Signed-off-by: Luben Tuikov <ltuikov89@gmail.com>
drivers/gpu/drm/scheduler/sched_main.c