]> www.infradead.org Git - users/willy/xarray.git/commit
drm/amdgpu: Add infrastructure for Cleaner Shader feature
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Thu, 6 Jun 2024 07:42:40 +0000 (13:12 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Aug 2024 18:27:34 +0000 (14:27 -0400)
commitaec773a1fb0253494b85b073f46a0ba1d798b726
treea79d22dd4b87556089d8ee27801ba98d7a908dc4
parentf49280ffd254e718ee01ef515fe91854fdf005cf
drm/amdgpu: Add infrastructure for Cleaner Shader feature

The cleaner shader is used by the CP firmware to clean LDS and GPRs
between processes on the CUs.

This adds an internal API for GFX IP code to allocate and initialize the
cleaner shader.

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h