diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-01-10 11:48:06 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 20:17:52 +0100 |
commit | 6390258a2f1390e19dece30bb5231e73ce8a7dd0 (patch) | |
tree | c155dbc5c09b899b629b96be853d5bd1e7eaa7d8 /drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h | |
parent | drm/amdgpu: add custom power policy support in sysfs (diff) | |
download | linux-6390258a2f1390e19dece30bb5231e73ce8a7dd0.tar.xz linux-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.h | 1 |
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 |