Skip to content

drm/sched: Add bloody spinlocks

Philipp Stanner dri-devel lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/sched: Use proper locks in drm_sched_job_arm()drivers/gpu/drm/scheduler/sched_main.c+7 -10 replies
2/2drm/sched: Use proper locks for drm_sched_job_init()drivers/gpu/drm/scheduler/sched_main.c+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] drm/sched: Add bloody spinlocks

The scheduler wouldn't be the scheduler if there weren't functions like drm_sched_job_arm() being called probably a few thousand times per second without taking proper locks, just racing wildly.

This series adds the proper locks to drm_sched_job_init() and drm_sched_job_arm().

Philipp Stanner (2):
drm/sched: Use proper locks in drm_sched_job_arm() drm/sched: Use proper locks for drm_sched_job_init()

 drivers/gpu/drm/scheduler/sched_main.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
Signature · 1 line
2.49.0