]> git.baikalelectronics.ru Git - kernel.git/commit
drm/scheduler: Remove obsolete spinlock.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 15 May 2018 18:42:20 +0000 (14:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 May 2018 21:08:17 +0000 (16:08 -0500)
commit29de6eed75155e2bb468a44f35c62e11b7347780
tree73e8668bc916f9ebee6dcfb338ea28d2feb41500
parente55316cf24c52469df31f88f18e2f4ae7b366579
drm/scheduler: Remove obsolete spinlock.

This spinlock is superfluous, any call to drm_sched_entity_push_job
should already be under a lock together with matching drm_sched_job_init
to match the order of insertion into queue with job's fence seqence
number.

v2:
Improve patch description.
Add functions documentation describing the locking considerations

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/scheduler/gpu_scheduler.c
include/drm/gpu_scheduler.h