lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111191037.KkdiYtPa-lkp@intel.com>
Date:   Fri, 19 Nov 2021 10:35:49 +0800
From:   kernel test robot <lkp@...el.com>
To:     Wan Jiabing <wanjiabing@...o.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>,
        Rodrigo Siqueira <Rodrigo.Siqueira@....com>
Subject: drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:661:6:
 warning: no previous prototype for 'dce110_enable_stream'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e26dd976580a6a427c69e6116508dd3d412742e5
commit: 4d45a22458f52a3daf222287d9e578d3ec418422 drm: display: Remove duplicate include in dce110
date:   5 months ago
config: microblaze-buildonly-randconfig-r004-20210927 (attached as .config)
compiler: microblaze-linux-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4d45a22458f52a3daf222287d9e578d3ec418422
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4d45a22458f52a3daf222287d9e578d3ec418422
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=microblaze 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.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)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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@....com>
:::::: CC: Alex Deucher <alexander.deucher@....com>

---
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" (30158 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ