]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx10: Enable cleaner shader for GFX10.3.2/10.3.4/10.3.5 GPUs
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Sat, 4 Jan 2025 08:35:36 +0000 (14:05 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jan 2025 21:02:57 +0000 (16:02 -0500)
commit9814626751de427e99ec9df77d6c29f7668fd105
tree64c64c01bbcf49fbe773ffea968e087e39f5b595
parent86bde64cb7957be393f84e5d35fb8dfc91e4ae7e
drm/amdgpu/gfx10: Enable cleaner shader for GFX10.3.2/10.3.4/10.3.5 GPUs

Enable the cleaner shader for GFX10.3.2/10.3.4/10.3.5 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.2/10.3.4/10.3.5
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: 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_v10_0.c