All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/sched: Add bloody spinlocks
@ 2025-10-30 10:42 Philipp Stanner
  2025-10-30 10:42 ` [PATCH 1/2] drm/sched: Use proper locks in drm_sched_job_arm() Philipp Stanner
  2025-10-30 10:42 ` [PATCH 2/2] drm/sched: Use proper locks for drm_sched_job_init() Philipp Stanner
  0 siblings, 2 replies; 3+ messages in thread
From: Philipp Stanner @ 2025-10-30 10:42 UTC (permalink / raw)
  To: Matthew Brost, Danilo Krummrich, Philipp Stanner,
	Christian König, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Boris Brezillon,
	Melissa Wen, Steven Price
  Cc: dri-devel, linux-kernel

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(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-30 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-30 10:42 [PATCH 0/2] drm/sched: Add bloody spinlocks Philipp Stanner
2025-10-30 10:42 ` [PATCH 1/2] drm/sched: Use proper locks in drm_sched_job_arm() Philipp Stanner
2025-10-30 10:42 ` [PATCH 2/2] drm/sched: Use proper locks for drm_sched_job_init() Philipp Stanner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.