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>
Mon, 14 Jan 2019 20:04:25 +0000 (15:04 -0500)
commita7a0d543ca1aed6f23f1998b1cd2d87da953e444
treebde1f94398e02af0aa5189fc6a37403d83804203
parentc4312c27c826cb2b05dbbda614fa3c735c2c4cca
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