diff options
author | 2025-02-10 16:16:01 -0500 | |
---|---|---|
committer | 2025-02-12 21:06:37 -0500 | |
commit | 7845438718411b0e6e354f77a10a7b8b51b01852 (patch) | |
tree | 57f21f028d80cee8444e55c52dac84cecdfe0109 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | drm/amdkfd: Fix pasid value leak (diff) | |
download | linux-rng-7845438718411b0e6e354f77a10a7b8b51b01852.tar.xz linux-rng-7845438718411b0e6e354f77a10a7b8b51b01852.zip |
drm/amdgpu/mes: Add cleaner shader fence address handling in MES for GFX12
This commit introduces enhancements to the handling of the cleaner
shader fence in the AMDGPU MES driver:
- The MES (Microcode Execution Scheduler) now sends a PM4 packet to the
KIQ (Kernel Interface Queue) to request the cleaner shader, ensuring
that requests are handled in a controlled manner and avoiding the
race conditions.
- The CP (Compute Processor) firmware has been updated to use a private
bus for accessing specific registers, avoiding unnecessary operations
that could lead to issues in VF (Virtual Function) mode.
- The cleaner shader fence memory address is now set correctly in the
`mes_set_hw_res_pkt` structure, allowing for proper synchronization of
the cleaner shader execution.
Cc: Christian König <christian.koenig@amd.com>
Cc: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Suggested-by: Shaoyun Liu <shaoyun.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions