drm/amdgpu: reject gang submit on reserved VMIDs
authorChristian König <christian.koenig@amd.com>
Fri, 19 Jan 2024 13:57:29 +0000 (14:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jul 2024 20:19:19 +0000 (16:19 -0400)
commit99194e6db5d89c00ea8acd1eb3ff260e1c440f55
tree32ef36779f2465ae52cb71bb9cd6cc780b60d229
parent256abd8e550ce977b728be79a74e1729438b4948
drm/amdgpu: reject gang submit on reserved VMIDs

A gang submit won't work if the VMID is reserved and we can't flush out
VM changes from multiple engines at the same time.

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>
(cherry picked from commit 320debca1ba3a81c87247eac84eff976ead09ee0)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h