drm/amdgpu: make gfx9 enter into rlc safe mode when set MGCG
authorLikun Gao <Likun.Gao@amd.com>
Wed, 2 Jan 2019 04:20:12 +0000 (12:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Jan 2019 17:13:20 +0000 (12:13 -0500)
commitabc856259a6dc513868ad91e00a70379825d59c4
tree044a99a007e2b2312074e90e5f505f15d05bba0e
parent96d8f63c44e5d4db48d98c40bb74d0a0e47ae301
drm/amdgpu: make gfx9 enter into rlc safe mode when set MGCG

MGCG should RLC enter into safe mode first.

Signed-off-by: Likun Gao <Likun.Gao@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