-
- Downloads
drm/amdgpu: Enforce isolation as part of the job
This patch adds a new parameter 'enforce_isolation' to the amdgpu_job structure. This parameter is used to determine whether shader isolation should be enforced for a job. The enforce_isolation parameter is then stored in the amdgpu_job structure and used when flushing the VM. The enforce_isolation field of the amdgpu_job structure is set directly after the job is allocated This change allows more fine-grained control over shader isolation, making it possible to enforce isolation on a per-job basis rather than globally. This can be useful in scenarios where only certain jobs require isolation. Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by:Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Suggested-by:
Christian König <christian.koenig@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 1 addition, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h 3 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_job.h
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 2 additions, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
Loading
Please register or sign in to comment