diff options
author | 2023-11-02 10:55:36 +0000 | |
---|---|---|
committer | 2023-11-04 21:18:26 -0400 | |
commit | 67dd1d8c9f6543661720b9a89e28a25488cb8753 (patch) | |
tree | 71eb5f65aa47e5e32705f0791114a474ee00633b /drivers/gpu/drm/drm_file.c | |
parent | drm/sched: Move free worker re-queuing out of the if block (diff) | |
download | wireguard-linux-67dd1d8c9f6543661720b9a89e28a25488cb8753.tar.xz wireguard-linux-67dd1d8c9f6543661720b9a89e28a25488cb8753.zip |
drm/sched: Rename drm_sched_free_job_queue to be more descriptive
The current name makes it sound like helper will free a queue, while what
it does is it enqueues the free job worker.
Rename it to drm_sched_run_free_queue to align with existing
drm_sched_run_job_queue.
Despite that creating an illusion there are two queues, while in reality
there is only one, at least it creates a consistent naming for the two
enqueuing helpers.
At the same time simplify the "if done" helper by dropping the suffix and
adding a double underscore prefix to the one which just enqueues.
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-4-tvrtko.ursulin@linux.intel.com
Reviewed-by: Luben Tuikov <ltuikov89@gmail.com>
Signed-off-by: Luben Tuikov <ltuikov89@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/drm_file.c')
0 files changed, 0 insertions, 0 deletions