AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/sched: Entity handling cleanups
@ 2026-11-17 10:06 Tvrtko Ursulin
  2026-11-17 10:06 ` [PATCH 1/4] drm/sched: Disallow initializing entities with un-initialized schedulers Tvrtko Ursulin
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Tvrtko Ursulin @ 2026-11-17 10:06 UTC (permalink / raw)
  To: dri-devel
  Cc: amd-gfx, kernel-dev, Tvrtko Ursulin, Christian König,
	Danilo Krummrich, Matthew Brost, Philipp Stanner,
	Maíra Canal

Stricter rules around entity initialization, removing the single scheduler
special case which fixes the priority override for amdgpu single IP instance
entities and addressing of fence_seq FIXME by pulling the entity->lock up from
drm_sched_entity_select_rq().

In the last round sashiko complained about the first patch breaking legacy v3d
but Maíra has confirmed that is an unused path so no problem to make it
stricter. Lets see what sashiko finds in this round.

Cc: Christian König <christian.koenig@amd.com>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Philipp Stanner <phasta@kernel.org>
Cc: Maíra Canal <mcanal@igalia.com>

Tvrtko Ursulin (4):
  drm/sched: Disallow initializing entities with un-initialized
    schedulers
  drm/sched: Ignore stopped entity attempt to change its run-queue
  drm/sched: Remove the single scheduler special case
  drm/sched: Address the fence_seq fixme

 drivers/gpu/drm/scheduler/sched_entity.c | 72 +++++++++++++++---------
 drivers/gpu/drm/scheduler/sched_fence.c  |  6 +-
 drivers/gpu/drm/scheduler/sched_main.c   |  7 ++-
 include/drm/gpu_scheduler.h              | 49 ++++++++--------
 4 files changed, 81 insertions(+), 53 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-11-17 14:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 10:06 [PATCH 0/4] drm/sched: Entity handling cleanups Tvrtko Ursulin
2026-11-17 10:06 ` [PATCH 1/4] drm/sched: Disallow initializing entities with un-initialized schedulers Tvrtko Ursulin
2026-11-17 10:46   ` sashiko-bot
2026-11-17 12:11     ` Tvrtko Ursulin
2026-11-17 12:00   ` Philipp Stanner
2026-11-17 12:17     ` Tvrtko Ursulin
2026-11-17 10:06 ` [PATCH 2/4] drm/sched: Ignore stopped entity attempt to change its run-queue Tvrtko Ursulin
2026-11-17 11:53   ` Philipp Stanner
2026-11-17 13:04     ` Tvrtko Ursulin
2026-11-17 10:06 ` [PATCH 3/4] drm/sched: Remove the single scheduler special case Tvrtko Ursulin
2026-11-17 10:25   ` sashiko-bot
2026-11-17 10:06 ` [PATCH 4/4] drm/sched: Address the fence_seq fixme Tvrtko Ursulin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox