diff options
author | Huang Rui <ray.huang@amd.com> | 2017-01-05 06:17:13 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-01-27 11:13:07 -0500 |
commit | a8503b15ab770967c13bc61ae8a2216165c9760a (patch) | |
tree | 4a23665a714a7ae5c090570155043be41ff0bf68 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | |
parent | 6cb2d4e4f3b1f0857c720ab8c41a764f18995377 (diff) |
drm/amdgpu: add parse clock gating state
Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: William Lewis <minutemaidpark@hotmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h index 5fd7734f15ca..c19c4d138751 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | |||
@@ -24,6 +24,12 @@ | |||
24 | #ifndef __AMDGPU_PM_H__ | 24 | #ifndef __AMDGPU_PM_H__ |
25 | #define __AMDGPU_PM_H__ | 25 | #define __AMDGPU_PM_H__ |
26 | 26 | ||
27 | struct cg_flag_name | ||
28 | { | ||
29 | u32 flag; | ||
30 | const char *name; | ||
31 | }; | ||
32 | |||
27 | int amdgpu_pm_sysfs_init(struct amdgpu_device *adev); | 33 | int amdgpu_pm_sysfs_init(struct amdgpu_device *adev); |
28 | void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev); | 34 | void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev); |
29 | void amdgpu_pm_print_power_states(struct amdgpu_device *adev); | 35 | void amdgpu_pm_print_power_states(struct amdgpu_device *adev); |