drm/amdgpu: add nbio MGCG for raven
authorHuang Rui <ray.huang@amd.com>
Mon, 27 Feb 2017 06:01:55 +0000 (14:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:41:18 +0000 (17:41 -0400)
Add medium grained nbio clockgating implementation.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 42fdd5a..c0529df 100644 (file)
@@ -854,7 +854,7 @@ static int soc15_common_set_clockgating_state(void *handle,
                                state == AMD_CG_STATE_GATE ? true : false);
                break;
        case CHIP_RAVEN:
-               nbio_v6_1_update_medium_grain_clock_gating(adev,
+               nbio_v7_0_update_medium_grain_clock_gating(adev,
                                state == AMD_CG_STATE_GATE ? true : false);
                nbio_v6_1_update_medium_grain_light_sleep(adev,
                                state == AMD_CG_STATE_GATE ? true : false);