All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] drm/sched: Entity handling cleanups
@ 2026-12-03 14:01 Tvrtko Ursulin
  2026-12-03 14:01 ` [PATCH v2 01/10] drm/amdgpu/vcn3: Fail job submission if VCN0 decode is disabled under SR-IOV Tvrtko Ursulin
                   ` (10 more replies)
  0 siblings, 11 replies; 21+ messages in thread
From: Tvrtko Ursulin @ 2026-12-03 14:01 UTC (permalink / raw)
  To: dri-devel
  Cc: kernel-dev, Tvrtko Ursulin, Christian König,
	Danilo Krummrich, Matthew Brost, Philipp Stanner,
	Maíra Canal, Lucas Stach, Russell King, Christian Gmeiner,
	Rob Clark, linux-arm-msm, freedreno, etnaviv, amd-gfx

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.

v2:
 * New patches in the series:
   * Fix amdgpu VCN potential usage of un-initialized schedulers.
   * Make entaviv and msm check drm_sched_entity_init return value.
   * Mark drm_sched_entity_init as __must_check.
   * Clamp priority levels against all schedulers in drm_sched_entity_init().

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>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Russell King <linux+etnaviv@armlinux.org.uk>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: Rob Clark <robin.clark@oss.qualcomm.com>
Cc: Dmitry Baryshkov <lumag@kernel.org
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Cc: etnaviv@lists.freedesktop.org
Cc: amd-gfx@lists.freedesktop.org

Tvrtko Ursulin (10):
  drm/amdgpu/vcn3: Fail job submission if VCN0 decode is disabled under
    SR-IOV
  drm/etnaviv: Release context id on failure
  drm/etnaviv: Check drm_sched_entity_init() return value
  drm/msm: Check drm_sched_entity_init() return value
  drm/sched: Mark drm_sched_entity_init() as __must_check
  drm/sched: Disallow initializing entities with un-initialized
    schedulers
  drm/sched: Clamp priority againsts all provided 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/amd/amdgpu/vcn_v3_0.c    |  4 ++
 drivers/gpu/drm/etnaviv/etnaviv_drv.c    | 26 ++++---
 drivers/gpu/drm/msm/msm_submitqueue.c    |  9 ++-
 drivers/gpu/drm/scheduler/sched_entity.c | 89 +++++++++++++++---------
 drivers/gpu/drm/scheduler/sched_fence.c  |  6 +-
 drivers/gpu/drm/scheduler/sched_main.c   |  7 +-
 include/drm/gpu_scheduler.h              | 59 +++++++++-------
 7 files changed, 129 insertions(+), 71 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-12-05  4:20 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 14:01 [PATCH v2 00/10] drm/sched: Entity handling cleanups Tvrtko Ursulin
2026-12-03 14:01 ` [PATCH v2 01/10] drm/amdgpu/vcn3: Fail job submission if VCN0 decode is disabled under SR-IOV Tvrtko Ursulin
2026-12-03 14:01 ` [PATCH v2 02/10] drm/etnaviv: Release context id on failure Tvrtko Ursulin
2026-12-03 14:18   ` sashiko-bot
2026-12-03 14:01 ` [PATCH v2 03/10] drm/etnaviv: Check drm_sched_entity_init() return value Tvrtko Ursulin
2026-12-03 14:19   ` sashiko-bot
2026-12-03 14:24   ` Tvrtko Ursulin
2026-12-03 14:01 ` [PATCH v2 04/10] drm/msm: " Tvrtko Ursulin
2026-12-03 14:23   ` sashiko-bot
2026-12-03 14:24   ` Tvrtko Ursulin
2026-12-03 14:01 ` [PATCH v2 05/10] drm/sched: Mark drm_sched_entity_init() as __must_check Tvrtko Ursulin
2026-12-03 14:01 ` [PATCH v2 06/10] drm/sched: Disallow initializing entities with un-initialized schedulers Tvrtko Ursulin
2026-12-03 14:23   ` sashiko-bot
2026-12-05  4:20   ` Sidong Yang
2026-12-03 14:01 ` [PATCH v2 07/10] drm/sched: Clamp priority againsts all provided schedulers Tvrtko Ursulin
2026-12-03 14:01 ` [PATCH v2 08/10] drm/sched: Ignore stopped entity attempt to change its run-queue Tvrtko Ursulin
2026-12-03 14:01 ` [PATCH v2 09/10] drm/sched: Remove the single scheduler special case Tvrtko Ursulin
2026-12-03 14:31   ` sashiko-bot
2026-12-03 14:01 ` [PATCH v2 10/10] drm/sched: Address the fence_seq fixme Tvrtko Ursulin
2026-12-03 14:30   ` sashiko-bot
2026-12-03 19:29 ` [PATCH v2 00/10] drm/sched: Entity handling cleanups Maíra Canal

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.