drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 24 Aug 2018 09:26:23 +0000 (17:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 19:48:55 +0000 (14:48 -0500)
commit8ef23364b654d44244400d79988e677e504b21ba
treef03b12f66afa524588f770d23f5a4c6e980dcf97
parentfca5d959972c18839f0306f19df2f121623447dd
drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode

This is required by gfx hw and can fix the rlc hang when
do s3 stree test on Cz/St.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Hang Zhou <hang.zhou@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c