summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2015-11-19 13:48:14 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-12-21 16:42:42 -0500
commit0f8b106e11d616eb50aef8f58a47d383101aa4dc (patch)
treec99a06d73eef1b5d8cdaee298642a1e021dd593a /drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h
parent73afe621016645ec9dbeacefd6a38cc7054ec8c4 (diff)
drm/amd/powerplay: enable/disable NB pstate feature for Carrizo.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: David Rokhvarg <David.Rokhvarg@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h
index 1765d0e02d47..54a6c34f9317 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h
@@ -238,7 +238,7 @@ struct cz_hwmgr {
uint32_t highest_valid;
uint32_t high_voltage_threshold;
uint32_t is_nb_dpm_enabled;
- uint32_t is_nb_dpm_enabled_by_driver;
+ struct amd_pp_display_configuration display_cfg; /* set by DAL */
uint32_t is_voltage_island_enabled;
bool pgacpinit;
@@ -304,6 +304,7 @@ struct cz_hwmgr {
uint32_t max_sclk_level;
uint32_t num_of_clk_entries;
+ bool cc6_setting_changed;
};
struct pp_hwmgr;