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 20:10:49 +0000 (15:10 -0500)
commit1f06dee8f784e4f3af4add95076659ba95ffa9fb
tree062868451ce7d4542320c52e9fcac6d336689e62
parent43370c4ce5c6a1fae84b58f67f7834902ee74b7c
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