]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/gfx10: Add Cleaner Shader Support for GFX10.3.x GPUs
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Wed, 26 Mar 2025 07:23:01 +0000 (12:53 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:34 +0000 (15:18 -0400)
commit9eab24532691a36ce795f192ea2fb3193bc5c4b3
tree37f59cc8611a778ae920577f2beaa9068e6e88a1
parent60d4952d8908c2396e5a005e056423c578e29db6
drm/amdgpu/gfx10: Add Cleaner Shader Support for GFX10.3.x GPUs

Enable the cleaner shader for other GFX10.3.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 GFX10.3.x GPUs, previously
available for GFX10.3.0. It enhances security by clearing GPU memory
between processes and maintains a consistent GPU state across KGD and
KFD workloads.

Cc: Mario Sopena-Novales <mario.novales@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_v10_0.c