]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx12: Add Cleaner Shader Support for GFX12.0 GPUs
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Sun, 12 Jan 2025 03:06:16 +0000 (08:36 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2025 16:06:50 +0000 (11:06 -0500)
commit19b7f7c721f62b899017a633277becce57c0a070
tree6a00d40ecbcf15a2cefb8e5058fc56e0b31ff862
parentf2935a3019ea8cfaa49311ea2f7e2269be0a0d35
drm/amdgpu/gfx12: Add Cleaner Shader Support for GFX12.0 GPUs

This commit enables the cleaner shader feature for GFX12.0 and GFX12.0.1
GPUs. The cleaner shader is important for clearing GPU resources such as
Local Data Share (LDS), Vector General Purpose Registers (VGPRs), and
Scalar General Purpose Registers (SGPRs) between workloads.

- This feature ensures that GPU resources are reset between workloads,
  preventing data leaks and ensuring accurate computation.

By enabling the cleaner shader, this update enhances the security and
reliability of GPU operations on GFX12.0 hardware.

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_v12_0.c