summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/hwmgr
diff options
context:
space:
mode:
authorEric Huang <JinHuiEric.Huang@amd.com>2017-06-13 14:51:57 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-06-15 11:50:29 -0400
commit9d90f0bd7caafb2a2e157e49842891e9b6acfe65 (patch)
tree4ce36651401ec7c4444a5363b84ac437578c3ef0 /drivers/gpu/drm/amd/powerplay/hwmgr
parentd67fed161896c56c18dea6f2fa42d225ad5d87b2 (diff)
drm/amd/powerplay: add avfs control for Vega10
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
index e6205a77afa5..d22696bd91af 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
@@ -4907,6 +4907,7 @@ static const struct pp_hwmgr_func vega10_hwmgr_funcs = {
.set_sclk_od = vega10_set_sclk_od,
.get_mclk_od = vega10_get_mclk_od,
.set_mclk_od = vega10_set_mclk_od,
+ .avfs_control = vega10_avfs_enable,
};
int vega10_hwmgr_init(struct pp_hwmgr *hwmgr)