lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 13 Apr 2022 18:28:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Zhang <dingchen.zhang@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>
Subject: [agd5f:drm-next 162/166]
 drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:798:61:
 error: 'DP_PSR2_WITH_Y_COORD_ET_SUPPORTED' undeclared; did you mean
 'DP_PSR2_WITH_Y_COORD_IS_SUPPORTED'?

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   01215dfe2a468234303a465c545abc88d4af9878
commit: 901029aa00171805ca366091a0f604cb8684efca [162/166] drm/amd/display: implement shared PSR-SU sink validation helper
config: sparc64-buildonly-randconfig-r001-20220413 (https://download.01.org/0day-ci/archive/20220413/202204131805.RzoAYpTv-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.0
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
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout 901029aa00171805ca366091a0f604cb8684efca
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c: In function 'is_psr_su_specific_panel':
>> drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:798:61: error: 'DP_PSR2_WITH_Y_COORD_ET_SUPPORTED' undeclared (first use in this function); did you mean 'DP_PSR2_WITH_Y_COORD_IS_SUPPORTED'?
     798 |                 if (link->dpcd_caps.psr_info.psr_version >= DP_PSR2_WITH_Y_COORD_ET_SUPPORTED)
         |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                                             DP_PSR2_WITH_Y_COORD_IS_SUPPORTED
   drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:798:61: note: each undeclared identifier is reported only once for each function it appears in
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
                    from drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:29:
   At top level:
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:129:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=]
     129 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
         |                      ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:126:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
     126 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:125:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
     125 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
         |                      ^~~~~~~~~~~~~~~~~~~~~~~


vim +798 drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c

   786	
   787	/*
   788	 * is_psr_su_specific_panel() - check if sink is AMD vendor-specific PSR-SU
   789	 * supported eDP device.
   790	 *
   791	 * @link: dc link pointer
   792	 *
   793	 * Return: true if AMDGPU vendor specific PSR-SU eDP panel
   794	 */
   795	bool is_psr_su_specific_panel(struct dc_link *link)
   796	{
   797		if (link->dpcd_caps.edp_rev >= DP_EDP_14) {
 > 798			if (link->dpcd_caps.psr_info.psr_version >= DP_PSR2_WITH_Y_COORD_ET_SUPPORTED)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists