]> 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 14:34:44 +0000 (10:34 -0400)
commit0043ec26d827ddb1e85bd9786693152aa6f55d16
tree45be7ee69773dfc44735996b61523e049bb42891
parent86731a2a651e58953fc949573895f2fa6d456841
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>
(cherry picked from commit 99808926d0ea6234a89e35240a7cb088368de9e1)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c