drm/amdgpu/userq: integrate with enforce isolation
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Apr 2025 17:11:10 +0000 (13:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:56:11 +0000 (10:56 -0400)
commit8f23a97907d92e16d34d4a2a9dc793398afa34a6
tree394930f49ed25b13fcbbbae5b4ceae1703823284
parent28fc3172e4204c8cdd8c70226ea02b0ae9930b69
drm/amdgpu/userq: integrate with enforce isolation

Enforce isolation serializes access to the GFX IP.  User
queues are isolated in the MES scheduler, but we still
need to serialize between kernel queues and user queues.
For enforce isolation, group KGD user queues with KFD user
queues.

v2: split out variable renaming, add config guards
v3: use new function names

Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c