From: kernel test robot <lkp@intel.com>
To: Wenjing Liu <wenjing.liu@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Alex Deucher <alexander.deucher@amd.com>,
Eric Yang <eric.yang2@amd.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'
Date: Wed, 27 Oct 2021 23:36:31 +0800 [thread overview]
Message-ID: <202110272327.58ebCM9B-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4020 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 69252 bytes --]
reply other threads:[~2021-10-27 15:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110272327.58ebCM9B-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.deucher@amd.com \
--cc=eric.yang2@amd.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wenjing.liu@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox