tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.17-wip
head: 7f462340284582c0180384c046ddd6dda03888b1
commit: e1deba285156fb4023bb48f22068de5b60e34e15 [458/469] drm/amd/pp: Use
amdgpu acpi helper functions in powerplay
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e1deba285156fb4023bb48f22068de5b60e34e15
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All errors (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c: In function
'hwmgr_init_default_caps':
>> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:897:6: error: implicit
>> declaration of function 'amdgpu_acpi_is_pcie_performance_request_supported';
>> did you mean 'amdgpu_dpm_force_performance_level'?
>> [-Werror=implicit-function-declaration]
if (amdgpu_acpi_is_pcie_performance_request_supported(hwmgr->adev))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
amdgpu_dpm_force_performance_level
cc1: some warnings being treated as errors
--
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c: In function
'smu7_request_link_speed_change_before_state_change':
>> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:3617:13: error:
>> implicit declaration of function 'amdgpu_acpi_pcie_performance_request'; did
>> you mean 'smu7_pcie_performance_request'?
>> [-Werror=implicit-function-declaration]
if (0 == amdgpu_acpi_pcie_performance_request(hwmgr->adev,
PCIE_PERF_REQ_GEN3, false))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smu7_pcie_performance_request
cc1: some warnings being treated as errors
vim +897 drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c
889
890 void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
891 {
892 phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
PHM_PlatformCaps_PCIEPerformanceRequest);
893
894 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
PHM_PlatformCaps_UVDDPM);
895 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
PHM_PlatformCaps_VCEDPM);
896
> 897 if
> (amdgpu_acpi_is_pcie_performance_request_supported(hwmgr->adev))
898 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
PHM_PlatformCaps_PCIEPerformanceRequest);
899
900 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
901 PHM_PlatformCaps_DynamicPatchPowerState);
902
903 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
904 PHM_PlatformCaps_EnableSMU7ThermalManagement);
905
906 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
907 PHM_PlatformCaps_DynamicPowerManagement);
908
909 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
910 PHM_PlatformCaps_SMC);
911
912 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
913
PHM_PlatformCaps_DynamicUVDState);
914
915 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
916
PHM_PlatformCaps_FanSpeedInTableIsRPM);
917 return;
918 }
919
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
