drm/amdgpu/st: move ATC CG golden init from gfx to mc
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Oct 2016 04:32:00 +0000 (00:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Oct 2016 15:18:37 +0000 (11:18 -0400)
commit0711257ee6d1e8bec08fdf26021f968d4d041e91
tree7e594bebef8402010f605a2ff81c1422906a3f78
parent1304f0c7ddd80b359282bb2077c8a7bc51f06c3a
drm/amdgpu/st: move ATC CG golden init from gfx to mc

It's technically an MC register so make sure we initialize it
in the MC module rather than the gfx module.  Since other bits
in the same register are used to enable ATC CG features make
sure we apply the golden setting first.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c