drm/amdgpu: fix S3 failed as RLC safe mode entry stucked in polloing gfx acq
authorPrike Liang <Prike.Liang@amd.com>
Tue, 15 Oct 2019 09:11:49 +0000 (17:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:24:09 +0000 (16:24 -0400)
commitf839110157aed1396506dfab715f523344ab9724
tree90de4bbed31e0f00c82e628c50d5f8cfe3ce6f1e
parentc8486eef2c095f2f986e4968b27b7a2043afc0e3
drm/amdgpu: fix S3 failed as RLC safe mode entry stucked in polloing gfx acq

Fix gfx cgpg setting sequence for RLC deadlock at safe mode entry in polling gfx response.
The patch can fix VCN IB test failed and DAL get dispaly count failed issue.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c