From: kernel test robot <lkp@intel.com>
To: Eric Bernstein <eric.bernstein@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Alex Deucher <alexander.deucher@amd.com>
Subject: [agd5f:drm-next 44/63] drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:180:6: warning: no previous prototype for 'dccg32_set_valid_pixel_rate'
Date: Sat, 4 Jun 2022 22:36:42 +0800 [thread overview]
Message-ID: <202206042226.yKcIBQny-lkp@intel.com> (raw)
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: 0401cdad37f8a62e64363b2a6fc16c7fafba66e2
commit: 0fa8930c48889344f93251e749deb8fa0257532d [44/63] drm/amd/display: Use DTBCLK for valid pixel clock
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220604/202206042226.yKcIBQny-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce (this is a W=1 build):
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next
git checkout 0fa8930c48889344f93251e749deb8fa0257532d
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:136:6: warning: no previous prototype for 'dccg32_set_dtbclk_dto' [-Wmissing-prototypes]
136 | void dccg32_set_dtbclk_dto(
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:180:6: warning: no previous prototype for 'dccg32_set_valid_pixel_rate' [-Wmissing-prototypes]
180 | void dccg32_set_valid_pixel_rate(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:205:6: warning: no previous prototype for 'dccg32_set_dpstreamclk' [-Wmissing-prototypes]
205 | void dccg32_set_dpstreamclk(
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:241:6: warning: no previous prototype for 'dccg32_otg_add_pixel' [-Wmissing-prototypes]
241 | void dccg32_otg_add_pixel(struct dccg *dccg,
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:250:6: warning: no previous prototype for 'dccg32_otg_drop_pixel' [-Wmissing-prototypes]
250 | void dccg32_otg_drop_pixel(struct dccg *dccg,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c:27:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:133:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=]
133 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:130:17: warning: 'DP_SINK_BRANCH_DEV_NAME_7580' defined but not used [-Wunused-const-variable=]
130 | static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:128:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
128 | 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:127:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
127 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/dccg32_set_valid_pixel_rate +180 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dccg.c
179
> 180 void dccg32_set_valid_pixel_rate(
181 struct dccg *dccg,
182 int otg_inst,
183 int pixclk_khz)
184 {
185 struct dtbclk_dto_params dto_params = {0};
186
187 dto_params.otg_inst = otg_inst;
188 dto_params.pixclk_khz = pixclk_khz;
189
190 dccg32_set_dtbclk_dto(dccg, &dto_params);
191 }
192
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-04 14:37 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=202206042226.yKcIBQny-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.deucher@amd.com \
--cc=eric.bernstein@amd.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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