]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: reject gang submissions under SRIOV
authorChristian König <christian.koenig@amd.com>
Wed, 27 Aug 2025 11:14:43 +0000 (13:14 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Sep 2025 21:47:00 +0000 (17:47 -0400)
commitd7ddcf921e7d0d8ebe82e89635bc9dc26ba9540d
tree010d9fc12ea368fc1afcaa0c85f9397756fbeee5
parent7840a699c513dfd20661b5d1d055011b3ab17e30
drm/amdgpu: reject gang submissions under SRIOV

Gang submission means that the kernel driver guarantees that multiple
submissions are executed on the HW at the same time on different engines.

Background is that those submissions then depend on each other and each
can't finish stand alone.

SRIOV now uses world switch to preempt submissions on the engines to allow
sharing the HW resources between multiple VFs.

The problem is now that the SRIOV world switch can't know about such inter
dependencies and will cause a timeout if it waits for a partially running
gang submission.

To conclude SRIOV and gang submissions are fundamentally incompatible at
the moment. For now just disable them.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c