drm/sched: Document entity->stopped is protected by entity->lock

Commit
0e118b936d ("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]
This commit is contained in:
Tvrtko Ursulin 2026-10-02 13:46:55 +01:00 committed by Tvrtko Ursulin
parent 6f6a6b9ae0
commit 25d72c9bbc

View File

@ -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;