drm/amdgpu: add option params to enforce process isolation between graphics and compute
authorChong Li <chongli2@amd.com>
Wed, 7 Jun 2023 07:56:12 +0000 (15:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:49:48 +0000 (12:49 -0400)
commit80e709ee6ecc9eba8bd8d188218472822e1b38bd
tree4fc0a6da459a24192e5a75365eba8cfcb2e0296b
parent4e70da985cef954cdf7813d651c067d2c602ea71
drm/amdgpu: add option params to enforce process isolation between graphics and compute

enforce process isolation between graphics and compute via using the same reserved vmid.

v2: remove params "struct amdgpu_vm *vm" from
    amdgpu_vmid_alloc_reserved and amdgpu_vmid_free_reserved.

Signed-off-by: Chong Li <chongli2@amd.com>
Reviewed-by: Christian Koenig <Christian.Koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c