diff options
author | Huang Rui <ray.huang@amd.com> | 2017-02-27 09:01:55 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-25 00:41:18 +0300 |
commit | 7fda6eca5de520d2acf2b27a217aa2f703ad627b (patch) | |
tree | b48430fc81a33ffbf907e8acdeb8b384936c1b16 /drivers/gpu/drm/amd/amdgpu/soc15.c | |
parent | aecbe64f2b926c7422ce6f0c4d18b7f7dc4a9677 (diff) | |
download | linux-7fda6eca5de520d2acf2b27a217aa2f703ad627b.tar.xz |
drm/amdgpu: add nbio MGCG for raven
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 42fdd5ae4dd8..c0529dfac193 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -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); |