summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2017-05-31 18:13:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-06-06 23:58:49 +0300
commitd5583d4f69c4db863d4d56ba2a3ec2333220f864 (patch)
treea3ee740efedfcae55025169fda22ba54f097d895 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
parent77f6c76370632570870bee6793958488316e1732 (diff)
downloadlinux-d5583d4f69c4db863d4d56ba2a3ec2333220f864.tar.xz
drm/amdgpu: export mmhub set clockgating into gmc
Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
index f8a57e16ec25..d9ca98545810 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
@@ -29,6 +29,8 @@ void mmhub_v1_0_gart_disable(struct amdgpu_device *adev);
void mmhub_v1_0_set_fault_enable_default(struct amdgpu_device *adev,
bool value);
void mmhub_v1_0_init(struct amdgpu_device *adev);
+int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev,
+ enum amd_clockgating_state state);
extern const struct amd_ip_funcs mmhub_v1_0_ip_funcs;
extern const struct amdgpu_ip_block_version mmhub_v1_0_ip_block;