[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251030104219.181704-2-phasta@kernel.org>
Date: Thu, 30 Oct 2025 11:42:18 +0100
From: Philipp Stanner <phasta@...nel.org>
To: Matthew Brost <matthew.brost@...el.com>,
	Danilo Krummrich <dakr@...nel.org>,
	Philipp Stanner <phasta@...nel.org>,
	Christian König <ckoenig.leichtzumerken@...il.com>,
	Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
	Maxime Ripard <mripard@...nel.org>,
	Thomas Zimmermann <tzimmermann@...e.de>,
	David Airlie <airlied@...il.com>,
	Simona Vetter <simona@...ll.ch>,
	Boris Brezillon <boris.brezillon@...labora.com>,
	Melissa Wen <mwen@...lia.com>,
	Steven Price <steven.price@....com>
Cc: dri-devel@...ts.freedesktop.org,
	linux-kernel@...r.kernel.org
Subject: [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(-)
-- 
2.49.0
Powered by blists - more mailing lists
 
