diff options
| author | Huang Rui <[email protected]> | 2017-05-31 15:35:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-06-06 20:58:56 +0000 |
| commit | 13052be59a301ab4cf10f614f0abdbce6b384c49 (patch) | |
| tree | 0c15ce44f243f099c16e4a93d95c11f47b460ef0 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | |
| parent | drm/amdgpu: export mmhub set clockgating into gmc (diff) | |
| download | kernel-13052be59a301ab4cf10f614f0abdbce6b384c49.tar.gz kernel-13052be59a301ab4cf10f614f0abdbce6b384c49.zip | |
drm/amdgpu: export mmhub get clockgating into gmc
Signed-off-by: Huang Rui <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c index 7a7177b423e8..d95380efcf8c 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c @@ -569,9 +569,8 @@ static int mmhub_v1_0_set_clockgating_state(void *handle, return 0; } -static void mmhub_v1_0_get_clockgating_state(void *handle, u32 *flags) +void mmhub_v1_0_get_clockgating(struct amdgpu_device *adev, u32 *flags) { - struct amdgpu_device *adev = (struct amdgpu_device *)handle; int data; if (amdgpu_sriov_vf(adev)) @@ -609,7 +608,6 @@ const struct amd_ip_funcs mmhub_v1_0_ip_funcs = { .soft_reset = mmhub_v1_0_soft_reset, .set_clockgating_state = mmhub_v1_0_set_clockgating_state, .set_powergating_state = mmhub_v1_0_set_powergating_state, - .get_clockgating_state = mmhub_v1_0_get_clockgating_state, }; const struct amdgpu_ip_block_version mmhub_v1_0_ip_block = |
