]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx11: Add Cleaner Shader Support for GFX11.5.2/11.5.3 GPUs
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Thu, 10 Apr 2025 14:07:06 +0000 (19:37 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Apr 2025 21:00:39 +0000 (17:00 -0400)
commite62a8bc5d68718c0d1e0366e2e636dd41e7ee5e4
tree5b3d13a41dccfcf4463ff19bb993f8384132aaf5
parent20c50a9a793300a1fc82f3ddd0e3c68f8213fbef
drm/amdgpu/gfx11: Add Cleaner Shader Support for GFX11.5.2/11.5.3 GPUs

Enable the cleaner shader for additional GFX11.5.2/11.5.3 series GPUs to
ensure data isolation among GPU tasks. The cleaner shader is tasked with
clearing the Local Data Store (LDS), Vector General Purpose Registers
(VGPRs), and Scalar General Purpose Registers (SGPRs), which helps avoid
data leakage and guarantees the accuracy of computational results.

This update extends cleaner shader support to GFX11.5.2/11.5.3 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>
Acked-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