linux_dsm_epyc7002/drivers/gpu/drm/scheduler
Christian König e1b4ce25db drm/scheduler: use job count instead of peek
The spsc_queue_peek function is accessing queue->head which belongs to
the consumer thread and shouldn't be accessed by the producer

This is fixing a rare race condition when destroying entities.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Monk.liu@amd.com
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-14 15:45:53 -05:00
..
gpu_scheduler_trace.h drm/scheduler: Add job dependency trace. 2018-08-27 11:09:46 -05:00
Makefile drm/scheduler: rename gpu_scheduler.c to sched_main.c 2018-08-27 11:10:44 -05:00
sched_entity.c drm/scheduler: use job count instead of peek 2019-08-14 15:45:53 -05:00
sched_fence.c drm/scheduler: change entities rq even earlier 2018-08-27 11:10:07 -05:00
sched_main.c drm/sched: Fix make htmldocs warnings. 2019-05-29 11:49:51 -05:00