drm/amdgpu/gfx8: fix CGCG_CGLS handling
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Oct 2016 20:00:47 +0000 (16:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Oct 2016 19:44:14 +0000 (15:44 -0400)
commit6ae81452f9278ba1accdd4152d75061a8349a0f3
treec71db652a9ef44e092888a12f1ea4063b58b3636
parent9305ee6fe52035f63d70d023235b792ba22107f0
drm/amdgpu/gfx8: fix CGCG_CGLS handling

When setting up the RLC, only disable the CGCG and
CGLS bits rather than clearing the entire register
to avoid losing the golden settings.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c