summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc
diff options
context:
space:
mode:
authorEric Huang <JinHuiEric.Huang@amd.com>2016-02-11 15:54:45 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-05-04 20:27:02 -0400
commit65f85e7d8216afe458e7d798ad12e7a82a55162f (patch)
tree9d826ebf9aeb144ce129a85bca2c7a0e8ac1f925 /drivers/gpu/drm/amd/powerplay/inc
parentbacec8985f596a6c6fadb63966f52501d2ed2367 (diff)
downloadblackbird-op-linux-65f85e7d8216afe458e7d798ad12e7a82a55162f.tar.gz
blackbird-op-linux-65f85e7d8216afe458e7d798ad12e7a82a55162f.zip
drm/amd/powerplay: add GFX per cu powergating support through SMU/powerplay
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/hwmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
index e1ca36c79456..12285a989eff 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
@@ -337,6 +337,7 @@ struct pp_hwmgr_func {
int (*set_pp_table)(struct pp_hwmgr *hwmgr, const char *buf, size_t size);
int (*force_clock_level)(struct pp_hwmgr *hwmgr, enum pp_clock_type type, int level);
int (*print_clock_levels)(struct pp_hwmgr *hwmgr, enum pp_clock_type type, char *buf);
+ int (*enable_per_cu_power_gating)(struct pp_hwmgr *hwmgr, bool enable);
};
struct pp_table_func {
OpenPOWER on IntegriCloud