From: kernel test robot <lkp@intel.com>
To: "Maíra Canal" <mairacanal@riseup.net>,
"Alex Deucher" <alexander.deucher@amd.com>,
christian.koenig@amd.com, Xinhui.Pan@amd.com,
"David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Harry Wentland" <harry.wentland@amd.com>,
"Leo Li" <sunpeng.li@amd.com>,
"Rodrigo Siqueira" <Rodrigo.Siqueira@amd.com>,
"Nicholas Choi" <nicholas.choi@amd.com>,
"Daniel Latypov" <dlatypov@google.com>,
"David Gow" <davidgow@google.com>
Cc: kbuild-all@lists.01.org, magalilemes00@gmail.com,
tales.aparecida@gmail.com, linux-kernel@vger.kernel.org,
amd-gfx@lists.freedesktop.org, mwen@igalia.com,
"Maíra Canal" <mairacanal@riseup.net>,
dri-devel@lists.freedesktop.org,
"Isabella Basso" <isabbasso@riseup.net>,
andrealmeid@riseup.net, kunit-dev@googlegroups.com
Subject: Re: [PATCH v3 7/8] drm/amd/display: Introduce KUnit tests to dc_dmub_srv library
Date: Thu, 15 Sep 2022 08:55:54 +0800 [thread overview]
Message-ID: <202209150834.M0BeSpLy-lkp@intel.com> (raw)
In-Reply-To: <20220912155919.39877-8-mairacanal@riseup.net>
Hi Maíra,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip linus/master v6.0-rc5 next-20220914]
[cannot apply to drm-misc/drm-misc-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ma-ra-Canal/drm-amd-display-Introduce-KUnit-to-Display-Mode-Library/20220913-000256
base: git://anongit.freedesktop.org/drm/drm drm-next
config: loongarch-randconfig-r026-20220914 (https://download.01.org/0day-ci/archive/20220915/202209150834.M0BeSpLy-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.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
# https://github.com/intel-lab-lkp/linux/commit/50e2391775a6552a521c783a6fcd36942b906e3f
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Ma-ra-Canal/drm-amd-display-Introduce-KUnit-to-Display-Mode-Library/20220913-000256
git checkout 50e2391775a6552a521c783a6fcd36942b906e3f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c:863:
drivers/gpu/drm/amd/amdgpu/../display/dc/../tests/dc/dc_dmub_srv_test.c: In function 'populate_subvp_cmd_drr_info_test':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/../tests/dc/dc_dmub_srv_test.c:260:9: error: implicit declaration of function 'populate_subvp_cmd_drr_info'; did you mean 'populate_subvp_cmd_drr_info_test'? [-Werror=implicit-function-declaration]
260 | populate_subvp_cmd_drr_info(test_param->dc, test_param->subvp_pipe,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| populate_subvp_cmd_drr_info_test
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c:31:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h: At top level:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:137:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=]
137 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:134:17: warning: 'DP_SINK_BRANCH_DEV_NAME_7580' defined but not used [-Wunused-const-variable=]
134 | static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:132:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
132 | 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:131:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
131 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +260 drivers/gpu/drm/amd/amdgpu/../display/dc/../tests/dc/dc_dmub_srv_test.c
246
247 KUNIT_ARRAY_PARAM(populate_subvp_cmd_drr_info, populate_subvp_cmd_drr_info_cases,
248 populate_subvp_cmd_drr_info_test_to_desc);
249
250 static void populate_subvp_cmd_drr_info_test(struct kunit *test)
251 {
252 const struct populate_subvp_cmd_drr_info_test_case *test_param =
253 test->param_value;
254 struct dmub_cmd_fw_assisted_mclk_switch_pipe_data_v2 *pipe_data;
255
256 pipe_data = kunit_kzalloc(test,
257 sizeof(struct dmub_cmd_fw_assisted_mclk_switch_pipe_data_v2),
258 GFP_KERNEL);
259
> 260 populate_subvp_cmd_drr_info(test_param->dc, test_param->subvp_pipe,
261 test_param->vblank_pipe, pipe_data);
262
263 KUNIT_EXPECT_EQ(test, test_param->drr_in_use,
264 pipe_data->pipe_config.vblank_data.drr_info.drr_in_use);
265 KUNIT_EXPECT_EQ(test, test_param->drr_window_size_ms,
266 pipe_data->pipe_config.vblank_data.drr_info.drr_window_size_ms);
267 KUNIT_EXPECT_EQ(test, test_param->use_ramping,
268 pipe_data->pipe_config.vblank_data.drr_info.use_ramping);
269 KUNIT_EXPECT_EQ(test, test_param->min_vtotal_supported,
270 pipe_data->pipe_config.vblank_data.drr_info.min_vtotal_supported);
271 KUNIT_EXPECT_EQ(test, test_param->max_vtotal_supported,
272 pipe_data->pipe_config.vblank_data.drr_info.max_vtotal_supported);
273 }
274
--
0-DAY CI Kernel Test Service
https://01.org/lkp
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Maíra Canal" <mairacanal@riseup.net>,
"Alex Deucher" <alexander.deucher@amd.com>,
christian.koenig@amd.com, Xinhui.Pan@amd.com,
"David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Harry Wentland" <harry.wentland@amd.com>,
"Leo Li" <sunpeng.li@amd.com>,
"Rodrigo Siqueira" <Rodrigo.Siqueira@amd.com>,
"Nicholas Choi" <nicholas.choi@amd.com>,
"Daniel Latypov" <dlatypov@google.com>,
"David Gow" <davidgow@google.com>
Cc: kbuild-all@lists.01.org, kunit-dev@googlegroups.com,
magalilemes00@gmail.com, tales.aparecida@gmail.com,
linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org,
mwen@igalia.com, "Maíra Canal" <mairacanal@riseup.net>,
dri-devel@lists.freedesktop.org,
"Isabella Basso" <isabbasso@riseup.net>,
andrealmeid@riseup.net
Subject: Re: [PATCH v3 7/8] drm/amd/display: Introduce KUnit tests to dc_dmub_srv library
Date: Thu, 15 Sep 2022 08:55:54 +0800 [thread overview]
Message-ID: <202209150834.M0BeSpLy-lkp@intel.com> (raw)
In-Reply-To: <20220912155919.39877-8-mairacanal@riseup.net>
Hi Maíra,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip linus/master v6.0-rc5 next-20220914]
[cannot apply to drm-misc/drm-misc-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ma-ra-Canal/drm-amd-display-Introduce-KUnit-to-Display-Mode-Library/20220913-000256
base: git://anongit.freedesktop.org/drm/drm drm-next
config: loongarch-randconfig-r026-20220914 (https://download.01.org/0day-ci/archive/20220915/202209150834.M0BeSpLy-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.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
# https://github.com/intel-lab-lkp/linux/commit/50e2391775a6552a521c783a6fcd36942b906e3f
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Ma-ra-Canal/drm-amd-display-Introduce-KUnit-to-Display-Mode-Library/20220913-000256
git checkout 50e2391775a6552a521c783a6fcd36942b906e3f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c:863:
drivers/gpu/drm/amd/amdgpu/../display/dc/../tests/dc/dc_dmub_srv_test.c: In function 'populate_subvp_cmd_drr_info_test':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/../tests/dc/dc_dmub_srv_test.c:260:9: error: implicit declaration of function 'populate_subvp_cmd_drr_info'; did you mean 'populate_subvp_cmd_drr_info_test'? [-Werror=implicit-function-declaration]
260 | populate_subvp_cmd_drr_info(test_param->dc, test_param->subvp_pipe,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| populate_subvp_cmd_drr_info_test
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c:31:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h: At top level:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:137:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=]
137 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:134:17: warning: 'DP_SINK_BRANCH_DEV_NAME_7580' defined but not used [-Wunused-const-variable=]
134 | static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:132:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
132 | 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:131:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
131 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +260 drivers/gpu/drm/amd/amdgpu/../display/dc/../tests/dc/dc_dmub_srv_test.c
246
247 KUNIT_ARRAY_PARAM(populate_subvp_cmd_drr_info, populate_subvp_cmd_drr_info_cases,
248 populate_subvp_cmd_drr_info_test_to_desc);
249
250 static void populate_subvp_cmd_drr_info_test(struct kunit *test)
251 {
252 const struct populate_subvp_cmd_drr_info_test_case *test_param =
253 test->param_value;
254 struct dmub_cmd_fw_assisted_mclk_switch_pipe_data_v2 *pipe_data;
255
256 pipe_data = kunit_kzalloc(test,
257 sizeof(struct dmub_cmd_fw_assisted_mclk_switch_pipe_data_v2),
258 GFP_KERNEL);
259
> 260 populate_subvp_cmd_drr_info(test_param->dc, test_param->subvp_pipe,
261 test_param->vblank_pipe, pipe_data);
262
263 KUNIT_EXPECT_EQ(test, test_param->drr_in_use,
264 pipe_data->pipe_config.vblank_data.drr_info.drr_in_use);
265 KUNIT_EXPECT_EQ(test, test_param->drr_window_size_ms,
266 pipe_data->pipe_config.vblank_data.drr_info.drr_window_size_ms);
267 KUNIT_EXPECT_EQ(test, test_param->use_ramping,
268 pipe_data->pipe_config.vblank_data.drr_info.use_ramping);
269 KUNIT_EXPECT_EQ(test, test_param->min_vtotal_supported,
270 pipe_data->pipe_config.vblank_data.drr_info.min_vtotal_supported);
271 KUNIT_EXPECT_EQ(test, test_param->max_vtotal_supported,
272 pipe_data->pipe_config.vblank_data.drr_info.max_vtotal_supported);
273 }
274
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-09-15 0:56 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 15:59 [PATCH v3 0/8] drm/amd/display: Introduce KUnit to Display Mode Library Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` [PATCH v3 1/8] drm/amd/display: Introduce KUnit tests for fixed31_32 library Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-30 14:13 ` Harry Wentland
2022-09-30 14:13 ` Harry Wentland
2022-09-30 14:13 ` Harry Wentland
2022-10-19 12:56 ` Magali Lemes
2022-10-19 12:56 ` Magali Lemes
2022-10-19 12:56 ` Magali Lemes
2022-09-12 15:59 ` [PATCH v3 2/8] drm/amd/display: Introduce KUnit tests to the bw_fixed library Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` [PATCH v3 3/8] drm/amd/display: Introduce KUnit tests to display_rq_dlg_calc_20 Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` [PATCH v3 4/8] drm/amd/display: Introduce KUnit tests to the display_mode_vba library Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` [PATCH v3 5/8] drm/amd/display: Introduce KUnit to dcn20/display_mode_vba_20 library Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` [PATCH v3 6/8] drm/amd/display: Introduce KUnit tests for dcn20_fpu Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` [PATCH v3 7/8] drm/amd/display: Introduce KUnit tests to dc_dmub_srv library Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-15 0:55 ` kernel test robot [this message]
2022-09-15 0:55 ` kernel test robot
2022-09-12 15:59 ` [PATCH v3 8/8] Documentation/gpu: Add Display Core Unit Test documentation Maíra Canal
2022-09-12 15:59 ` Maíra Canal
2022-09-12 15:59 ` Maíra Canal
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=202209150834.M0BeSpLy-lkp@intel.com \
--to=lkp@intel.com \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=andrealmeid@riseup.net \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=davidgow@google.com \
--cc=dlatypov@google.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=isabbasso@riseup.net \
--cc=kbuild-all@lists.01.org \
--cc=kunit-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=magalilemes00@gmail.com \
--cc=mairacanal@riseup.net \
--cc=mripard@kernel.org \
--cc=mwen@igalia.com \
--cc=nicholas.choi@amd.com \
--cc=sunpeng.li@amd.com \
--cc=tales.aparecida@gmail.com \
--cc=tzimmermann@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.