]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx9: Add cleaner shader support for GFX9.4.4 hardware
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Mon, 29 Jul 2024 16:48:45 +0000 (22:18 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:07:23 +0000 (22:07 -0400)
commitb1f49ff9cbe14264c7eb33462fb700c49c7d91a8
tree912d92ef7f6fb68a7a1b3601ef3ba6a020f8ff39
parent335288315af18c0def7f47a37fe7eaa782c98f6d
drm/amdgpu/gfx9: Add cleaner shader support for GFX9.4.4 hardware

This commit extends the cleaner shader feature to support GFX9.4.4
hardware.

The cleaner shader feature is used to clear or initialize certain GPU
resources, such as Local Data Share (LDS), Vector General Purpose
Registers (VGPRs), and Scalar General Purpose Registers (SGPRs). This
operation needs to be performed in isolation, while no other tasks
should be running on the GPU at the same time.

Previously, the cleaner shader feature was implemented for GFX9.4.3
hardware. This commit adds support for GFX9.4.4 hardware by allowing the
cleaner shader to be used with this hardware version.

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