]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit563e1e664d27292a3b55ca08366dc8c32db52450
tree73e8668bc916f9ebee6dcfb338ea28d2feb41500
parentb9245b949885f24e84ae16d99d3898a5f1e0ba24
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