drm/amd/powerplay: add avfs control for Vega10
authorEric Huang <JinHuiEric.Huang@amd.com>
Tue, 13 Jun 2017 18:51:57 +0000 (14:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2017 15:50:29 +0000 (11:50 -0400)
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

index e6205a77afa5bd95918343d4ffbcdf587b23b924..d22696bd91af1df3806ea8fa63cf86b531a264ab 100644 (file)
@@ -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)