• Srinivasan Shanmugam's avatar
    drm/amdgpu/gfx9: Add cleaner shader support for GFX9.4.4 hardware · b1f49ff9
    Srinivasan Shanmugam authored
    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: default avatarSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    b1f49ff9
gfx_v9_4_3.c 158 KB