AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Gang submit v2
@ 2022-07-14 10:38 Christian König
  2022-07-14 10:38 ` [PATCH 01/10] drm/sched: move calling drm_sched_entity_select_rq Christian König
                   ` (9 more replies)
  0 siblings, 10 replies; 22+ messages in thread
From: Christian König @ 2022-07-14 10:38 UTC (permalink / raw)
  To: amd-gfx, Marek.Olsak, timur.kristof, andrey.grodzovsky,
	Yogesh.Mohanmarimuthu

Hi guys,

secound round for this patch set. I've fixed the minor comments and bugs
Andrey and Yogesh came up with and rebased everything.

The base is not the current amd-staging-drm-next branch, but rather Alex
rebased version since this depends on the dma-resv usage rework. So
don't bother trying to apply that anywhere.

The patches are also available here https://gitlab.freedesktop.org/ckoenig/linux-drm.git
on branch amd-gang-submit.

Please review and comment,
Christian.



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Gang submit
@ 2022-03-03  8:22 Christian König
  2022-03-03  8:23 ` [PATCH 07/10] drm/amdgpu: move setting the job resources Christian König
  0 siblings, 1 reply; 22+ messages in thread
From: Christian König @ 2022-03-03  8:22 UTC (permalink / raw)
  To: amd-gfx, Marek.Olsak

Hi guys,

this patch set implements the the requirement for so called gang submissions in the CS interface.

A gang submission guarantees that multiple IBs can run on different engines at the same time.

This is implemented by keeping a global per-device gang around represented by a dma_fence which signals as soon as all jobs in a gang are pushed to the hardware.

The effect is that as long as members of a gang are waiting to be submitted no other gang can start pushing jobs to the hardware and so deadlocks are effectively prevented.

The whole set is based on top of my dma_resv_usage work and a few patches merged over from amd-staging-drm-next, so it won't easily apply anywhere.

Please review and comment,
Christian.



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

end of thread, other threads:[~2022-07-14 19:32 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-14 10:38 Gang submit v2 Christian König
2022-07-14 10:38 ` [PATCH 01/10] drm/sched: move calling drm_sched_entity_select_rq Christian König
2022-07-14 15:43   ` Andrey Grodzovsky
2022-07-14 16:26     ` Christian König
2022-07-14 18:25       ` Andrey Grodzovsky
2022-07-14 10:38 ` [PATCH 02/10] drm/amdgpu: Protect the amdgpu_bo_list list with a mutex v2 Christian König
2022-07-14 15:10   ` Alex Deucher
2022-07-14 19:10   ` Luben Tuikov
2022-07-14 10:38 ` [PATCH 03/10] drm/amdgpu: revert "partial revert "remove ctx->lock" v2" Christian König
2022-07-14 10:38 ` [PATCH 04/10] drm/amdgpu: use DMA_RESV_USAGE_BOOKKEEP Christian König
2022-07-14 10:38 ` [PATCH 05/10] drm/amdgpu: cleanup and reorder amdgpu_cs.c Christian König
2022-07-14 10:38 ` [PATCH 06/10] drm/amdgpu: remove SRIOV and MCBP dependencies from the CS Christian König
2022-07-14 10:38 ` [PATCH 07/10] drm/amdgpu: move setting the job resources Christian König
2022-07-14 15:40   ` Luben Tuikov
2022-07-14 18:32   ` Andrey Grodzovsky
2022-07-14 10:39 ` [PATCH 08/10] drm/amdgpu: revert "fix limiting AV1 to the first instance on VCN3" Christian König
2022-07-14 10:39 ` [PATCH 09/10] drm/amdgpu: add gang submit backend Christian König
2022-07-14 14:36   ` Andrey Grodzovsky
2022-07-14 19:32   ` Luben Tuikov
2022-07-14 10:39 ` [PATCH 10/10] drm/amdgpu: add gang submit frontend v2 Christian König
2022-07-14 19:10   ` Andrey Grodzovsky
  -- strict thread matches above, loose matches on Subject: below --
2022-03-03  8:22 Gang submit Christian König
2022-03-03  8:23 ` [PATCH 07/10] drm/amdgpu: move setting the job resources Christian König

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