tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 4c43049f19a280329c1d01699f3cc8ad6910cbbe
commit: 1bdcc35f7767988d49e55c6e44b80da666067f8b [7506/8581] drm/amd/display: reduce
sr_xxx_time by 3 us when ppt disable
config: powerpc64-randconfig-r003-20200716 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
ed6b578040a85977026c93bf4188f996148f3218)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
git checkout 1bdcc35f7767988d49e55c6e44b80da666067f8b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:89:5:
warning: no previous prototype for function 'rn_vbios_smu_send_msg_with_param'
[-Wmissing-prototypes]
int rn_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int
msg_id, unsigned int param)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:89:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int
msg_id, unsigned int param)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:110:5:
warning: no previous prototype for function 'rn_vbios_smu_get_smu_version'
[-Wmissing-prototypes]
int rn_vbios_smu_get_smu_version(struct clk_mgr_internal *clk_mgr)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:110:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_get_smu_version(struct clk_mgr_internal *clk_mgr)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:119:5:
warning: no previous prototype for function 'rn_vbios_smu_set_dispclk'
[-Wmissing-prototypes]
int rn_vbios_smu_set_dispclk(struct clk_mgr_internal *clk_mgr, int
requested_dispclk_khz)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:119:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_set_dispclk(struct clk_mgr_internal *clk_mgr, int
requested_dispclk_khz)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:142:5:
warning: no previous prototype for function 'rn_vbios_smu_set_dprefclk'
[-Wmissing-prototypes]
int rn_vbios_smu_set_dprefclk(struct clk_mgr_internal *clk_mgr)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:142:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_set_dprefclk(struct clk_mgr_internal *clk_mgr)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:156:5:
warning: no previous prototype for function 'rn_vbios_smu_set_hard_min_dcfclk'
[-Wmissing-prototypes]
int rn_vbios_smu_set_hard_min_dcfclk(struct clk_mgr_internal *clk_mgr, int
requested_dcfclk_khz)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:156:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_set_hard_min_dcfclk(struct clk_mgr_internal *clk_mgr, int
requested_dcfclk_khz)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:171:5:
warning: no previous prototype for function
'rn_vbios_smu_set_min_deep_sleep_dcfclk' [-Wmissing-prototypes]
int rn_vbios_smu_set_min_deep_sleep_dcfclk(struct clk_mgr_internal *clk_mgr, int
requested_min_ds_dcfclk_khz)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:171:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_set_min_deep_sleep_dcfclk(struct clk_mgr_internal *clk_mgr, int
requested_min_ds_dcfclk_khz)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:186:6:
warning: no previous prototype for function 'rn_vbios_smu_set_phyclk'
[-Wmissing-prototypes]
void rn_vbios_smu_set_phyclk(struct clk_mgr_internal *clk_mgr, int
requested_phyclk_khz)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:186:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
void rn_vbios_smu_set_phyclk(struct clk_mgr_internal *clk_mgr, int
requested_phyclk_khz)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:194:5:
warning: no previous prototype for function 'rn_vbios_smu_set_dppclk'
[-Wmissing-prototypes]
int rn_vbios_smu_set_dppclk(struct clk_mgr_internal *clk_mgr, int requested_dpp_khz)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:194:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_set_dppclk(struct clk_mgr_internal *clk_mgr, int requested_dpp_khz)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:206:6:
warning: no previous prototype for function 'rn_vbios_smu_set_dcn_low_power_state'
[-Wmissing-prototypes]
void rn_vbios_smu_set_dcn_low_power_state(struct clk_mgr_internal *clk_mgr, enum
dcn_pwr_state state)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:206:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
void rn_vbios_smu_set_dcn_low_power_state(struct clk_mgr_internal *clk_mgr, enum
dcn_pwr_state state)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:221:6:
warning: no previous prototype for function
'rn_vbios_smu_enable_48mhz_tmdp_refclk_pwrdwn' [-Wmissing-prototypes]
void rn_vbios_smu_enable_48mhz_tmdp_refclk_pwrdwn(struct clk_mgr_internal *clk_mgr,
bool enable)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:221:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
void rn_vbios_smu_enable_48mhz_tmdp_refclk_pwrdwn(struct clk_mgr_internal *clk_mgr,
bool enable)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:229:6:
warning: no previous prototype for function 'rn_vbios_smu_enable_pme_wa'
[-Wmissing-prototypes]
void rn_vbios_smu_enable_pme_wa(struct clk_mgr_internal *clk_mgr)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:229:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
void rn_vbios_smu_enable_pme_wa(struct clk_mgr_internal *clk_mgr)
^
static
>
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:237:5:
warning: no previous prototype for function
'rn_vbios_smu_is_periodic_retraining_disabled' [-Wmissing-prototypes]
int
rn_vbios_smu_is_periodic_retraining_disabled(struct clk_mgr_internal *clk_mgr)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:237:1:
note: declare 'static' if the function is not intended to be used outside of this
translation unit
int rn_vbios_smu_is_periodic_retraining_disabled(struct clk_mgr_internal *clk_mgr)
^
static
12 warnings generated.
vim +/rn_vbios_smu_is_periodic_retraining_disabled +237
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c
236
237 int rn_vbios_smu_is_periodic_retraining_disabled(struct
clk_mgr_internal *clk_mgr)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org