linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Wan Jiabing <wanjiabing@vivo.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Alex Deucher <alexander.deucher@amd.com>,
	Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Subject: [linux-next:master 8181/10007] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:661:6: warning: no previous prototype for 'dce110_enable_stream'
Date: Wed, 16 Jun 2021 06:04:05 +0800	[thread overview]
Message-ID: <202106160601.PRp9gDoM-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 8236 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   19ae1f2bd9c091059f80646604ccef8a1e614f57
commit: 4d45a22458f52a3daf222287d9e578d3ec418422 [8181/10007] drm: display: Remove duplicate include in dce110
config: csky-randconfig-r016-20210615 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4d45a22458f52a3daf222287d9e578d3ec418422
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 4d45a22458f52a3daf222287d9e578d3ec418422
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky 

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:661:6: warning: no previous prototype for 'dce110_enable_stream' [-Wmissing-prototypes]
     661 | void dce110_enable_stream(struct pipe_ctx *pipe_ctx)
         |      ^~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:1133:6: warning: no previous prototype for 'dce110_disable_stream' [-Wmissing-prototypes]
    1133 | void dce110_disable_stream(struct pipe_ctx *pipe_ctx)
         |      ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:1159:6: warning: no previous prototype for 'dce110_unblank_stream' [-Wmissing-prototypes]
    1159 | void dce110_unblank_stream(struct pipe_ctx *pipe_ctx,
         |      ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:1785:6: warning: no previous prototype for 'dce110_set_safe_displaymarks' [-Wmissing-prototypes]
    1785 | void dce110_set_safe_displaymarks(
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2566:6: warning: no previous prototype for 'dce110_prepare_bandwidth' [-Wmissing-prototypes]
    2566 | void dce110_prepare_bandwidth(
         |      ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2580:6: warning: no previous prototype for 'dce110_optimize_bandwidth' [-Wmissing-prototypes]
    2580 | void dce110_optimize_bandwidth(
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2863:6: warning: no previous prototype for 'dce110_set_backlight_level' [-Wmissing-prototypes]
    2863 | bool dce110_set_backlight_level(struct pipe_ctx *pipe_ctx,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2897:6: warning: no previous prototype for 'dce110_set_abm_immediate_disable' [-Wmissing-prototypes]
    2897 | void dce110_set_abm_immediate_disable(struct pipe_ctx *pipe_ctx)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2910:6: warning: no previous prototype for 'dce110_set_pipe' [-Wmissing-prototypes]
    2910 | void dce110_set_pipe(struct pipe_ctx *pipe_ctx)
         |      ^~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2976:6: warning: no previous prototype for 'dce110_hw_sequencer_construct' [-Wmissing-prototypes]
    2976 | void dce110_hw_sequencer_construct(struct dc *dc)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LOCKDEP
   Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
   Selected by
   - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT


vim +/dce110_enable_stream +661 drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c

4562236b3bc0a2 Harry Wentland   2017-09-12  660  
4562236b3bc0a2 Harry Wentland   2017-09-12 @661  void dce110_enable_stream(struct pipe_ctx *pipe_ctx)
4562236b3bc0a2 Harry Wentland   2017-09-12  662  {
4562236b3bc0a2 Harry Wentland   2017-09-12  663  	enum dc_lane_count lane_count =
ceb3dbb4690db8 Jun Lei          2018-11-09  664  		pipe_ctx->stream->link->cur_link_settings.lane_count;
4fa086b9b66408 Leo (Sunpeng  Li 2017-07-25  665) 	struct dc_crtc_timing *timing = &pipe_ctx->stream->timing;
ceb3dbb4690db8 Jun Lei          2018-11-09  666  	struct dc_link *link = pipe_ctx->stream->link;
f42ea55be11147 Anthony Koo      2019-11-05  667  	const struct dc *dc = link->dc;
f215a57dca691c Eric Yang        2018-02-21  668  
4562236b3bc0a2 Harry Wentland   2017-09-12  669  	uint32_t active_total_with_borders;
4562236b3bc0a2 Harry Wentland   2017-09-12  670  	uint32_t early_control = 0;
6b670fa965b620 Harry Wentland   2017-07-30  671  	struct timing_generator *tg = pipe_ctx->stream_res.tg;
4562236b3bc0a2 Harry Wentland   2017-09-12  672  
f215a57dca691c Eric Yang        2018-02-21  673  	/* For MST, there are multiply stream go to only one link.
f215a57dca691c Eric Yang        2018-02-21  674  	 * connect DIG back_end to front_end while enable_stream and
f215a57dca691c Eric Yang        2018-02-21  675  	 * disconnect them during disable_stream
f215a57dca691c Eric Yang        2018-02-21  676  	 * BY this, it is logic clean to separate stream and link */
f215a57dca691c Eric Yang        2018-02-21  677  	link->link_enc->funcs->connect_dig_be_to_fe(link->link_enc,
f215a57dca691c Eric Yang        2018-02-21  678  						    pipe_ctx->stream_res.stream_enc->id, true);
f215a57dca691c Eric Yang        2018-02-21  679  
f42ea55be11147 Anthony Koo      2019-11-05  680  	dc->hwss.update_info_frame(pipe_ctx);
f215a57dca691c Eric Yang        2018-02-21  681  
4562236b3bc0a2 Harry Wentland   2017-09-12  682  	/* enable early control to avoid corruption on DP monitor*/
4562236b3bc0a2 Harry Wentland   2017-09-12  683  	active_total_with_borders =
4562236b3bc0a2 Harry Wentland   2017-09-12  684  			timing->h_addressable
4562236b3bc0a2 Harry Wentland   2017-09-12  685  				+ timing->h_border_left
4562236b3bc0a2 Harry Wentland   2017-09-12  686  				+ timing->h_border_right;
4562236b3bc0a2 Harry Wentland   2017-09-12  687  
4562236b3bc0a2 Harry Wentland   2017-09-12  688  	if (lane_count != 0)
4562236b3bc0a2 Harry Wentland   2017-09-12  689  		early_control = active_total_with_borders % lane_count;
4562236b3bc0a2 Harry Wentland   2017-09-12  690  
4562236b3bc0a2 Harry Wentland   2017-09-12  691  	if (early_control == 0)
4562236b3bc0a2 Harry Wentland   2017-09-12  692  		early_control = lane_count;
4562236b3bc0a2 Harry Wentland   2017-09-12  693  
4562236b3bc0a2 Harry Wentland   2017-09-12  694  	tg->funcs->set_early_control(tg, early_control);
4562236b3bc0a2 Harry Wentland   2017-09-12  695  
4562236b3bc0a2 Harry Wentland   2017-09-12  696  	/* enable audio only within mode set */
afaacef4827592 Harry Wentland   2017-07-30  697  	if (pipe_ctx->stream_res.audio != NULL) {
4562236b3bc0a2 Harry Wentland   2017-09-12  698  		if (dc_is_dp_signal(pipe_ctx->stream->signal))
8e9c4c8cf35ff2 Harry Wentland   2017-07-30  699  			pipe_ctx->stream_res.stream_enc->funcs->dp_audio_enable(pipe_ctx->stream_res.stream_enc);
4562236b3bc0a2 Harry Wentland   2017-09-12  700  	}
4562236b3bc0a2 Harry Wentland   2017-09-12  701  
f215a57dca691c Eric Yang        2018-02-21  702  
f215a57dca691c Eric Yang        2018-02-21  703  
4562236b3bc0a2 Harry Wentland   2017-09-12  704  

:::::: The code at line 661 was first introduced by commit
:::::: 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c drm/amd/dc: Add dc display driver (v2)

:::::: TO: Harry Wentland <harry.wentland@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

---
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: 34539 bytes --]

                 reply	other threads:[~2021-06-15 22:05 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=202106160601.PRp9gDoM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Rodrigo.Siqueira@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=wanjiabing@vivo.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;
as well as URLs for NNTP newsgroup(s).