Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: fix doc by clarifying sched_list definition

expand sched_list definition for better understanding.
Also fix a typo atleast -> at least

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Nirmoy Das and committed by
Alex Deucher
2639f453 f583cc57

+4 -3
+1 -1
drivers/gpu/drm/scheduler/sched_entity.c
··· 45 45 * @guilty: atomic_t set to 1 when a job on this queue 46 46 * is found to be guilty causing a timeout 47 47 * 48 - * Note: the sched_list should have atleast one element to schedule 48 + * Note: the sched_list should have at least one element to schedule 49 49 * the entity 50 50 * 51 51 * Returns 0 on success or a negative error code on failure.
+3 -2
include/drm/gpu_scheduler.h
··· 52 52 * @list: used to append this struct to the list of entities in the 53 53 * runqueue. 54 54 * @rq: runqueue on which this entity is currently scheduled. 55 - * @sched_list: a list of drm_gpu_schedulers on which jobs from this entity can 56 - * be scheduled 55 + * @sched_list: A list of schedulers (drm_gpu_schedulers). 56 + * Jobs from this entity can be scheduled on any scheduler 57 + * on this list. 57 58 * @num_sched_list: number of drm_gpu_schedulers in the sched_list. 58 59 * @rq_lock: lock to modify the runqueue to which this entity belongs. 59 60 * @job_queue: the list of jobs of this entity.