]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu/swSMU: use the smu11 power source helper for navi1x
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Mar 2020 18:07:08 +0000 (14:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Mar 2020 21:00:11 +0000 (17:00 -0400)
The smu_v11_0 version works for navi1x.

Bug: https://gitlab.freedesktop.org/drm/amd/issues/1043
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c

index d66dfa7410b6da34f895a47110105d43cbcc4ff8..a23eaac280951cf1b9607d99768057dfb3039404 100644 (file)
@@ -2369,6 +2369,7 @@ static const struct pptable_funcs navi10_ppt_funcs = {
        .get_pptable_power_limit = navi10_get_pptable_power_limit,
        .run_btc = navi10_run_btc,
        .disable_umc_cdr_12gbps_workaround = navi10_disable_umc_cdr_12gbps_workaround,
+       .set_power_source = smu_v11_0_set_power_source,
 };
 
 void navi10_set_ppt_funcs(struct smu_context *smu)