mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
6f6a6b9ae0
commit
25d72c9bbc
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user