]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx10: Refine Cleaner Shader for GFX10.1.10
authorVitaly Prosyak <vitaly.prosyak@amd.com>
Tue, 6 May 2025 20:45:33 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:03:09 +0000 (15:03 -0400)
commitd26625d034fb8d596f0488472969493fa02d03f3
tree100a75b8059be0d85bf91ad248559167767ed922
parent719d84f8a812608fc0f7be18a96d7dee96eaf3ba
drm/amdgpu/gfx10: Refine Cleaner Shader for GFX10.1.10

This patch updates the cleaner shader, which is responsible for
initializing GPU resources such as Local Data Share (LDS), Vector
General Purpose Registers (VGPRs), and Scalar General Purpose Registers
(SGPRs). Changes include adjustments to register clearing and shader
configuration.

- Updated GPU resource initialization addresses in the cleaner shader
  from `be803080` to `be803000`.
- Simplified the logic in the SGPR clearing section, ensuring all SGPRs
  are set to zero.

Fixes: 25961bad9212 ("drm/amdgpu/gfx10: Add cleaner shader for GFX10.1.10")
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Manu Rastogi <manu.rastogi@amd.com>
Signed-off-by: Vitaly Prosyak <vitaly.prosyak@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_v10_0_cleaner_shader.h
drivers/gpu/drm/amd/amdgpu/gfx_v10_1_10_cleaner_shader.asm