]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx11: Add Cleaner Shader Support for GFX11.5 GPUs
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Thu, 20 Mar 2025 16:01:35 +0000 (21:31 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Mar 2025 16:16:35 +0000 (12:16 -0400)
commit2ec0a7c337fd1087abd5adda638c028f8ae9a989
treea18fa5b1e137aebf70e2ad82bc75145e69b7ce96
parent5e93d0e335e992066cf394c00808ee192da4ecf5
drm/amdgpu/gfx11: Add Cleaner Shader Support for GFX11.5 GPUs

Enable the cleaner shader for GFX11.5.0/11.5.1 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 GFX11.5.0/11.5.1 GPUs,
previously available for GFX11.0.3. 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>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c