Process Isolation Support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | drm/amdgpu: handle enforce isolation on non-0 gfxhubdrivers/ | +1 | 1 reply | |
| 2/17 | drm/amdgpu: Add infrastructure for Cleaner Shader featuredrivers/ drivers/ | +49 | 1 reply | |
| 3/17 | drm/amdgpu: Emit cleaner shader at end of IB submissiondrivers/ drivers/ | +6 | 0 replies | |
| 4/17 | drm/amdgpu: Make enforce_isolation setting per GPUdrivers/ drivers/ drivers/ +2 more | +21 | 0 replies | |
| 5/17 | drm/amdgpu: Enforce isolation as part of the jobdrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 6/17 | drm/amdgpu: Add enforce_isolation sysfs attributedrivers/ drivers/ drivers/ +1 more | +107 | 0 replies | |
| 7/17 | drm/amdgpu: Add sysfs interface for running cleaner shaderdrivers/ | +134 | 1 reply | |
| 8/17 | drm/amdgpu: Add PACKET3_RUN_CLEANER_SHADER for cleaner shader executiondrivers/ | +4 | 0 replies | |
| 9/17 | drm/amdgpu/gfx9: Implement cleaner shader support for GFX9 hardwaredrivers/ drivers/ | +66 | 0 replies | |
| 10/17 | drm/amdgpu/gfx9: Implement cleaner shader support for GFX9.4.3 hardwaredrivers/ drivers/ | +78 | 0 replies | |
| 11/17 | drm/amdgpu/gfx9: Add cleaner shader for GFX9.4.3drivers/ drivers/ | +191 | 0 replies | |
| 12/17 | drm/amdgpu/gfx9: Add cleaner shader support for GFX9.4.4 hardwaredrivers/ | +1 | 0 replies | |
| 13/17 | drm/amdkfd: APIs to stop/start KFD schedulingdrivers/ drivers/ drivers/ +2 more | +137 | 0 replies | |
| 14/17 | drm/amdgpu: Implement Enforce Isolation Handler for KGD/KFD serializationdrivers/ drivers/ drivers/ +1 more | +200 | 0 replies | |
| 15/17 | drm/amdgpu/gfx9: Apply Isolation Enforcement to GFX & Compute ringsdrivers/ | +6 | 1 reply | |
| 16/17 | drm/amdgpu/gfx_v9_4_3: Apply Isolation Enforcement to GFX & Compute ringsdrivers/ drivers/ | +6 | 0 replies | |
| 17/17 | drm/amdkfd: Enable processes isolation on gfx9drivers/ drivers/ drivers/ | +17 | 0 replies |
Reviews trailers per patch
1 of 17 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Srinivasan Shanmugam | Christian König |
|---|---|---|
| Series | R-b A-b | |
| 1/17 | A-b | |
| 2/17 | ||
| 3/17 | ||
| 4/17 | ||
| 5/17 | ||
| 6/17 | ||
| 7/17 | ||
| 8/17 | ||
| 9/17 | ||
| 10/17 | ||
| 11/17 | ||
| 12/17 | ||
| 13/17 | ||
| 14/17 | ||
| 15/17 | ||
| 16/17 | ||
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/17] Process Isolation Support
This patch set enables process isolation mode which serializes access to the graphics block between processes. When this mode is active, a cleaner shader is run between processes to clear shader LDS (Local Data Store) and GPRs (General Purpose Registers). A sysfs interface is also available to manually clear LDS and GPRs if you for example want to clear LDS and GPRs when a user logs out.
This includes support for GFX 9.4.3 and 9.4.4. Support for other GPUs is in progress and will be available when ready.
Alex Deucher (2):
drm/amdgpu: handle enforce isolation on non-0 gfxhub drm/amdgpu: Emit cleaner shader at end of IB submission
Amber Lin (2):
drm/amdkfd: APIs to stop/start KFD scheduling drm/amdkfd: Enable processes isolation on gfx9
Srinivasan Shanmugam (13):
drm/amdgpu: Add infrastructure for Cleaner Shader feature drm/amdgpu: Make enforce_isolation setting per GPU drm/amdgpu: Enforce isolation as part of the job drm/amdgpu: Add enforce_isolation sysfs attribute drm/amdgpu: Add sysfs interface for running cleaner shader drm/amdgpu: Add PACKET3_RUN_CLEANER_SHADER for cleaner shader
execution
drm/amdgpu/gfx9: Implement cleaner shader support for GFX9 hardware drm/amdgpu/gfx9: Implement cleaner shader support for GFX9.4.3
hardware
drm/amdgpu/gfx9: Add cleaner shader for GFX9.4.3 drm/amdgpu/gfx9: Add cleaner shader support for GFX9.4.4 hardware drm/amdgpu: Implement Enforce Isolation Handler for KGD/KFD
serialization
drm/amdgpu/gfx9: Apply Isolation Enforcement to GFX & Compute rings drm/amdgpu/gfx_v9_4_3: Apply Isolation Enforcement to GFX & Compute
rings
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 18 + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 14 + drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 23 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 437 ++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 31 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 17 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 + drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c | 4 + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 51 +- .../drm/amd/amdgpu/gfx_v9_0_cleaner_shader.h | 26 ++ drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 60 ++- .../amd/amdgpu/gfx_v9_4_3_cleaner_shader.asm | 153 ++++++ .../amd/amdgpu/gfx_v9_4_3_cleaner_shader.h | 64 +++ drivers/gpu/drm/amd/amdgpu/soc15d.h | 4 + drivers/gpu/drm/amd/amdkfd/kfd_device.c | 39 ++ .../drm/amd/amdkfd/kfd_device_queue_manager.c | 58 ++- .../drm/amd/amdkfd/kfd_device_queue_manager.h | 9 + .../drm/amd/amdkfd/kfd_packet_manager_v9.c | 14 +- .../gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h | 5 +- .../amd/amdkfd/kfd_pm4_headers_aldebaran.h | 2 +- 25 files changed, 1028 insertions(+), 23 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v9_0_cleaner_shader.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3_cleaner_shader.asm create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3_cleaner_shader.h
Signature · 1 line
2.46.0