diff options
| author | YuBiao Wang <YuBiao.Wang@amd.com> | 2026-07-31 13:27:38 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-10-07 12:03:58 -0400 |
| commit | 5e63e435b951a287c97d2d47f075c825e5d87505 (patch) | |
| tree | 26ff4c6cf3fb5c4278d9d8a6d4b2ba08ceaafb8b /scripts/Makefile.thinlto | |
| parent | ccf9e35ed6811f2c25ba6368e7dc6481da17159d (diff) | |
| download | linux-next-5e63e435b951a287c97d2d47f075c825e5d87505.tar.gz linux-next-5e63e435b951a287c97d2d47f075c825e5d87505.zip | |
drm/amdgpu/gfx12: read xccs-per-xcp from RLC_IMU_AID_CONFIG for VFI
gfx_v12_1_get_xccs_per_xcp() supplies the compute partition layout that
gfx_v12_1_cp_resume() needs on a VF. Once VFI is enabled the VF reaches
registers through RLCG, which cannot access the GFX_IMU registers, so the
GFX_IMU_PARTITION_SWITCH read stops working. Take the same field from
RLC_IMU_AID_CONFIG instead, and read it with a direct MMIO access rather
than RREG32_SOC15, which would route back into the RLCG path.
Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
