From: Eric Huang Date: Tue, 13 Jun 2017 18:51:57 +0000 (-0400) Subject: drm/amd/powerplay: add avfs control for Vega10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d90f0bd7caafb2a2e157e49842891e9b6acfe65;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amd/powerplay: add avfs control for Vega10 Signed-off-by: Eric Huang Reviewed-by: Alex Deucher --- 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)