]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/gfx11: Add Cleaner Shader Support for GFX11.5.4
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Thu, 26 Mar 2026 04:25:08 +0000 (09:55 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Mar 2026 19:13:50 +0000 (15:13 -0400)
commite4b1715a87ab1e9ef1aa1f6ea82889eafba4a119
tree1f67df6a6fcfd9888e0d602dd732f1a198b580fb
parent2fb4883b884a437d760bd7bdf7695a7e5a60bba3
drm/amdgpu/gfx11: Add Cleaner Shader Support for GFX11.5.4

The Cleaner Shader is responsible for clearing LDS, VGPRs and SGPRs
between GPU workloads to enforce process isolation and avoid data
leakage.

The cleaner shader clears per-wave GPU state (LDS, VGPRs and SGPRs)
between workloads, improving process isolation and preventing stale data
from being observed by subsequent tasks.

This reuses the existing cleaner shader used on GFX11.0.3 and enables it
for GFX11.5.4 GPUs when firmware requirements are met.

Cc: Muhammad Adam <muhammad.adam@amd.com>
Cc: Mario Sopena-Novales <mario.novales@amd.com>
Cc: Tom Wu <Tom.Wu@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