From: Huang Rui Date: Thu, 27 Aug 2020 15:44:54 +0000 (-0400) Subject: drm/amd/powerplay: add vangogh ppt into swSMU X-Git-Tag: accepted/tizen/unified/20230118.172025~8358^2~12^2~402 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd0fc24889f21fb4b10716c05752cb3a5f598dbc;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/powerplay: add vangogh ppt into swSMU This patch is to add vangogh ppt funcions into swSMU block. Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index ec477a2..fc482ce 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c @@ -33,6 +33,7 @@ #include "navi10_ppt.h" #include "sienna_cichlid_ppt.h" #include "renoir_ppt.h" +#include "vangogh_ppt.h" #include "amd_pcie.h" /* @@ -401,6 +402,9 @@ static int smu_set_funcs(struct amdgpu_device *adev) case CHIP_RENOIR: renoir_set_ppt_funcs(smu); break; + case CHIP_VANGOGH: + vangogh_set_ppt_funcs(smu); + break; default: return -EINVAL; } diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/Makefile b/drivers/gpu/drm/amd/pm/swsmu/smu11/Makefile index f98d971..0138c98 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/Makefile +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/Makefile @@ -26,6 +26,7 @@ SMU11_MGR = arcturus_ppt.o \ navi10_ppt.o \ sienna_cichlid_ppt.o \ + vangogh_ppt.o \ smu_v11_0.o AMD_SWSMU_SMU11MGR = $(addprefix $(AMD_SWSMU_PATH)/smu11/,$(SMU11_MGR))