diff options
author | Evan Quan <evan.quan@amd.com> | 2021-11-04 11:11:26 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-05 14:12:29 -0400 |
commit | e6ef9b396b6354b33373c62f0f47edf8702f12e5 (patch) | |
tree | 5a755596c1da8849829676c932412f8e01d9fd9c /drivers/gpu/drm/amd/amdkfd/kfd_process.c | |
parent | 7513c9ff44d9dfb035ec35b55f469244304806e6 (diff) |
drm/amdgpu: correctly toggle gfx on/off around RLC_SPM_* register access
As part of the ib padding process, accessing the RLC_SPM_* register may
trigger gfx hang. Since gfxoff may be already kicked during the whole period.
To address that, we manually toggle gfx on/off around the RLC_SPM_*
register access.
This can resolve the gfx hang issue observed on running Talos with RDP launched
in parallel.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_process.c')
0 files changed, 0 insertions, 0 deletions