All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] Simpler and more consistent handling of entities on missing hw blocks
@ 2026-01-07 12:43 Tvrtko Ursulin
  2026-01-07 12:43 ` [RFC 1/3] drm/amdgpu: Reject impossible entities early Tvrtko Ursulin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Tvrtko Ursulin @ 2026-01-07 12:43 UTC (permalink / raw)
  To: amd-gfx, dri-devel
  Cc: kernel-dev, Christian König, Danilo Krummrich, Matthew Brost,
	Philipp Stanner, Tvrtko Ursulin

Trying to consolidate how entity creation and/or submission is rejected when
underlying hw ip block is missing.

Amdgpu appears to be the only user which can pass zero schedulers, or a single
NULL scheduler to drm_sched_entity_init(), so if I did not miss something subtle
and the first two patches are okay, then the last one removes handling for that
special case from the DRM scheduler.

Tvrtko Ursulin (3):
  drm/amdgpu: Reject impossible entities early
  drm/amdgpu: Remove redundant missing hw ip handling
  drm/sched: Disallow initializing entities with no schedulers

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c   |  7 -------
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c  |  5 +++++
 drivers/gpu/drm/scheduler/sched_entity.c | 13 ++++---------
 3 files changed, 9 insertions(+), 16 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-03-03 14:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-07 12:43 [RFC 0/3] Simpler and more consistent handling of entities on missing hw blocks Tvrtko Ursulin
2026-01-07 12:43 ` [RFC 1/3] drm/amdgpu: Reject impossible entities early Tvrtko Ursulin
2026-01-08 13:13   ` Christian König
2026-01-07 12:43 ` [RFC 2/3] drm/amdgpu: Remove redundant missing hw ip handling Tvrtko Ursulin
2026-03-03 14:36   ` Christian König
2026-01-07 12:43 ` [RFC 3/3] drm/sched: Disallow initializing entities with no schedulers Tvrtko Ursulin
2026-01-08 13:54   ` Philipp Stanner
2026-01-12 10:29     ` Tvrtko Ursulin
2026-01-12 11:33       ` Danilo Krummrich
2026-01-12 12:49       ` Philipp Stanner
2026-01-12 12:51         ` Christian König
2026-01-22  8:52           ` Tvrtko Ursulin

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.