summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>2026-10-02 13:46:55 +0100
committerTvrtko Ursulin <tursulin@ursulin.net>2026-10-16 10:02:51 +0200
commit25d72c9bbcabbd2dc14a3b9fa4af210f341127dc (patch)
tree5c028b43d2821adcc9aea875b037726a63d0e103 /include/drm
parent6f6a6b9ae0b481b97dac141ae86becdf7bd0b471 (diff)
drm/sched: Document entity->stopped is protected by entity->lock
Commit 0e118b936dc5 ("drm/sched: Lock drm_sched_entity_is_idle()") has removed the last unlocked entity->stopped access so lets officially document it in kerneldoc as locked with the entity lock. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Cc: Christian König <christian.koenig@amd.com> Cc: Danilo Krummrich <dakr@kernel.org> Cc: Matthew Brost <matthew.brost@intel.com> Cc: Philipp Stanner <phasta@kernel.org> Acked-by: Philipp Stanner <phasta@kernel.org> Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net> Link: https://lore.kernel.org/r/20261002124655.74716-1-tvrtko.ursulin@igalia.com [tursulin: fixed commit title typo]
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/gpu_scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h
index 563d7fb88a6d..3b0978fa8cf0 100644
--- a/include/drm/gpu_scheduler.h
+++ b/include/drm/gpu_scheduler.h
@@ -101,7 +101,7 @@ struct drm_sched_entity {
*
* Lock protecting the run-queue (@rq) to which this entity belongs,
* @priority, @last_scheduled and the list of schedulers (@sched_list,
- * @num_sched_list) and @rr_ts.
+ * @num_sched_list), @rr_ts and @stopped.
*/
spinlock_t lock;