diff options
author | Huang Rui <ray.huang@amd.com> | 2017-05-31 18:35:44 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-06 23:58:56 +0300 |
commit | 13052be59a301ab4cf10f614f0abdbce6b384c49 (patch) | |
tree | 0c15ce44f243f099c16e4a93d95c11f47b460ef0 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h | |
parent | d5583d4f69c4db863d4d56ba2a3ec2333220f864 (diff) | |
download | linux-13052be59a301ab4cf10f614f0abdbce6b384c49.tar.xz |
drm/amdgpu: export mmhub get 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.h | 1 |
1 files changed, 1 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 d9ca98545810..bbfacbcdc4a2 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h @@ -31,6 +31,7 @@ void mmhub_v1_0_set_fault_enable_default(struct amdgpu_device *adev, void mmhub_v1_0_init(struct amdgpu_device *adev); int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev, enum amd_clockgating_state state); +void mmhub_v1_0_get_clockgating(struct amdgpu_device *adev, u32 *flags); extern const struct amd_ip_funcs mmhub_v1_0_ip_funcs; extern const struct amdgpu_ip_block_version mmhub_v1_0_ip_block; |