aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/scheduler/sched_entity.c
diff options
context:
space:
mode:
authorPhilipp Stanner <[email protected]>2025-03-14 10:10:23 +0000
committerPhilipp Stanner <[email protected]>2025-05-13 13:39:48 +0000
commit1773ea5caf0b6640aada70411eba6d33fef8e1d5 (patch)
tree4fcdbf3667dc5eea77d5cc5e08942e4aa6b08379 /drivers/gpu/drm/scheduler/sched_entity.c
parentMAINTAINERS: Add entries for drm_panic, drm_panic_qr_code and drm_log (diff)
downloadkernel-1773ea5caf0b6640aada70411eba6d33fef8e1d5.tar.gz
kernel-1773ea5caf0b6640aada70411eba6d33fef8e1d5.zip
drm/sched: Fix outdated comments referencing thread
The GPU scheduler's comments refer to a "thread" at various places. Those are leftovers from commit a6149f039369 ("drm/sched: Convert drm scheduler to use a work queue rather than kthread"). Replace all references to kthreads. Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Philipp Stanner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_entity.c')
-rw-r--r--drivers/gpu/drm/scheduler/sched_entity.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/scheduler/sched_entity.c b/drivers/gpu/drm/scheduler/sched_entity.c
index bd39db7bb240..a9ec77a10d93 100644
--- a/drivers/gpu/drm/scheduler/sched_entity.c
+++ b/drivers/gpu/drm/scheduler/sched_entity.c
@@ -545,10 +545,10 @@ void drm_sched_entity_select_rq(struct drm_sched_entity *entity)
return;
/*
- * Only when the queue is empty are we guaranteed that the scheduler
- * thread cannot change ->last_scheduled. To enforce ordering we need
- * a read barrier here. See drm_sched_entity_pop_job() for the other
- * side.
+ * Only when the queue is empty are we guaranteed that
+ * drm_sched_run_job_work() cannot change entity->last_scheduled. To
+ * enforce ordering we need a read barrier here. See
+ * drm_sched_entity_pop_job() for the other side.
*/
smp_rmb();