]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/gfx9: Add Cleaner Shader Support for GFX9.x GPUs
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Thu, 12 Jun 2025 14:41:14 +0000 (20:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jun 2025 13:54:23 +0000 (09:54 -0400)
commit99808926d0ea6234a89e35240a7cb088368de9e1
tree9422902c304affc32829840b05a9c47557836e12
parentea685ff30a51a25dd9be90786933ada49a088f65
drm/amdgpu/gfx9: Add Cleaner Shader Support for GFX9.x GPUs

Enable the cleaner shader for other GFX9.x series of GPUs to provide
data isolation between GPU workloads. The cleaner shader is responsible
for clearing the Local Data Store (LDS), Vector General Purpose
Registers (VGPRs), and Scalar General Purpose Registers (SGPRs), which
helps prevent data leakage and ensures accurate computation results.

This update extends cleaner shader support to GFX9.x GPUs, previously
available for GFX9.4.2. It enhances security by clearing GPU memory
between processes and maintains a consistent GPU state across KGD and
KFD workloads.

Cc: Manu Rastogi <manu.rastogi@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c