[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110272327.58ebCM9B-lkp@intel.com>
Date: Wed, 27 Oct 2021 23:36:31 +0800
From: kernel test robot <lkp@...el.com>
To: Wenjing Liu <wenjing.liu@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Alex Deucher <alexander.deucher@....com>,
Eric Yang <eric.yang2@....com>
Subject: [agd5f:drm-next 130/152]
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:844:36: error:
'const struct link_training_settings' has no member named 'ffe_preset'
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: e0fc01bc689906a1b4ab9ae54af28bc9fe4ce104
commit: 0c865d1d817b77a26c5211e8ae58945e2554f58d [130/152] drm/amd/display: fix link training regression for 1 or 2 lane
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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 0c865d1d817b77a26c5211e8ae58945e2554f58d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
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 >>):
In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.h:30,
from drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:37:
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function 'dmub_rb_flush_pending':
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2870:26: error: variable 'temp' set but not used [-Werror=unused-but-set-variable]
2870 | uint64_t temp;
| ^~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'override_lane_settings':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:844:36: error: 'const struct link_training_settings' has no member named 'ffe_preset'
844 | lt_settings->ffe_preset == NULL &&
| ^~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:857:32: error: 'const struct link_training_settings' has no member named 'ffe_preset'
857 | if (lt_settings->ffe_preset)
| ^~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:858:44: error: 'struct dc_lane_settings' has no member named 'FFE_PRESET'
858 | lane_settings[lane].FFE_PRESET = *lt_settings->ffe_preset;
| ^
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:858:70: error: 'const struct link_training_settings' has no member named 'ffe_preset'
858 | lane_settings[lane].FFE_PRESET = *lt_settings->ffe_preset;
| ^~
cc1: all warnings being treated as errors
vim +844 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c
836
837 static void override_lane_settings(const struct link_training_settings *lt_settings,
838 struct dc_lane_settings lane_settings[LANE_COUNT_DP_MAX])
839 {
840 uint32_t lane;
841
842 if (lt_settings->voltage_swing == NULL &&
843 lt_settings->pre_emphasis == NULL &&
> 844 lt_settings->ffe_preset == NULL &&
845 lt_settings->post_cursor2 == NULL)
846
847 return;
848
849 for (lane = 1; lane < LANE_COUNT_DP_MAX; lane++) {
850 if (lt_settings->voltage_swing)
851 lane_settings[lane].VOLTAGE_SWING = *lt_settings->voltage_swing;
852 if (lt_settings->pre_emphasis)
853 lane_settings[lane].PRE_EMPHASIS = *lt_settings->pre_emphasis;
854 if (lt_settings->post_cursor2)
855 lane_settings[lane].POST_CURSOR2 = *lt_settings->post_cursor2;
856
857 if (lt_settings->ffe_preset)
> 858 lane_settings[lane].FFE_PRESET = *lt_settings->ffe_preset;
859 }
860 }
861
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (69252 bytes)
Powered by blists - more mailing lists