diff options
author | Vitaly Prosyak <vitaly.prosyak@amd.com> | 2015-12-03 18:27:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-22 00:42:53 +0300 |
commit | 1c9a90820beb63f75ac7dabf75533f425aadc3fa (patch) | |
tree | 6cc5eb51b4b4187a2f78c024f9f4f02980110e0c /drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h | |
parent | c4dd206be1560ebb6eef9cf2200d10a4577cef3f (diff) | |
download | linux-1c9a90820beb63f75ac7dabf75533f425aadc3fa.tar.xz |
amd/powerplay: Fix get dal power level
Simplify data struct for get dal power level
Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h index a3b93cd3f739..a503306c3d0e 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h +++ b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h @@ -340,11 +340,6 @@ enum PP_DAL_POWERLEVEL { PP_DAL_POWERLEVEL_7 = PP_DAL_POWERLEVEL_6+1, }; -struct pp_dal_clock_info { - uint32_t engine_max_clock;/*dal validation clock on AC*/ - uint32_t memory_max_clock;/*dal validation clock on AC*/ - enum PP_DAL_POWERLEVEL level; /*number of levels for the given clocks*/ -}; extern int phm_enable_clock_power_gatings(struct pp_hwmgr *hwmgr); extern int phm_powergate_uvd(struct pp_hwmgr *hwmgr, bool gate); @@ -380,7 +375,7 @@ extern int phm_store_dal_configuration_data(struct pp_hwmgr *hwmgr, const struct amd_pp_display_configuration *display_config); extern int phm_get_dal_power_level(struct pp_hwmgr *hwmgr, - struct pp_dal_clock_info*info); + struct amd_pp_dal_clock_info*info); extern int phm_set_cpu_power_state(struct pp_hwmgr *hwmgr); |