From: Huang Rui Date: Mon, 27 Feb 2017 06:01:55 +0000 (+0800) Subject: drm/amdgpu: add nbio MGCG for raven X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7fda6eca5de520d2acf2b27a217aa2f703ad627b;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: add nbio MGCG for raven Add medium grained nbio clockgating implementation. Signed-off-by: Huang Rui Reviewed-by: Hawking Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- 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);