drm/amd/powerplay: add vangogh ppt into swSMU

This patch is to add vangogh ppt funcions into swSMU block.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Huang Rui
2020-08-27 11:44:54 -04:00
committed by Alex Deucher
parent fd8ba3f1a7
commit fd0fc24889
2 changed files with 5 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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))