aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-01-10 18:48:06 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:17:52 -0500
commit6390258a2f1390e19dece30bb5231e73ce8a7dd0 (patch)
treec155dbc5c09b899b629b96be853d5bd1e7eaa7d8 /drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
parentdrm/amdgpu: add custom power policy support in sysfs (diff)
downloadlinux-dev-6390258a2f1390e19dece30bb5231e73ce8a7dd0.tar.xz
linux-dev-6390258a2f1390e19dece30bb5231e73ce8a7dd0.zip
drm/amd/pp: Add custom power profile mode support on Vega10
v2: delete uncessary blank line. Add static const modifiers to an array Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
index e8507ff8dbb3..689fe9f5e0b8 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
@@ -389,6 +389,7 @@ struct vega10_hwmgr {
uint32_t config_telemetry;
uint32_t acg_loop_state;
uint32_t mem_channels;
+ uint8_t custom_profile_mode[4];
};
#define VEGA10_DPM2_NEAR_TDP_DEC 10