drm/amdgpu: cleanup init power gating function
authorHuang Rui <ray.huang@amd.com>
Thu, 21 Dec 2017 07:48:27 +0000 (15:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:37 +0000 (13:43 -0500)
commita5acf930269e71c76a7e7ad6819a86919c752fb1
treea87088ed811fde0a7da758f896655c743dfd9b3e
parent72408a41d0d78dbbd7fe7e24849c683596c8b79a
drm/amdgpu: cleanup init power gating function

Remove gfx_v9_0_enable_sck_slow_down_on_power_up/down and CP power gating
enabling functions because they only need to be called on setting power gating
behavior. We keep it in set_powergating callback to enable/disable PG in
late_init.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c