Evan Quan e6ef9b396b 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>
2021-11-05 14:12:29 -04:00
..
2021-10-28 14:59:38 +10:00
2021-10-04 12:06:14 +02:00
2021-07-30 14:52:00 +10:00
2021-08-10 20:14:01 +02:00
2021-10-28 14:59:38 +10:00
2021-09-01 11:26:46 -07:00
2021-08-10 20:14:01 +02:00
2021-10-28 14:59:38 +10:00
2021-10-07 05:42:16 +03:00
2021-10-28 14:59:38 +10:00
2021-10-28 14:59:38 +10:00
2021-10-28 14:59:38 +10:00
2021-10-28 14:59:38 +10:00
2021-10-28 14:59:38 +10:00
2021-10-28 14:59:38 +10:00
2021-08-12 21:41:10 +02:00
2021-08-10 20:14:01 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-09-22 22:11:53 +03:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-10-28 14:59:38 +10:00
2021-08-02 10:19:43 +02:00
2021-10-28 17:20:45 +10:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-28 19:00:20 +02:00
2021-08-10 20:14:01 +02:00
2021-10-01 15:55:47 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-05-17 21:19:48 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-19 09:02:55 +09:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-10 20:14:01 +02:00
2021-08-02 10:19:43 +02:00