[media-next:master 569/571] drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:4196:9: error: use of undeclared identifier 'atomisp_hw_is_isp2401'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://linuxtv.org/mchehab/media-next.git master
head:   60b2c19dd09b0413fb864b5d75949125b47baa1a
commit: be1fdab273a9e17d37b0258ee6e5a6a6f0689e89 [569/571] media: atomisp: change the detection of ISP2401 at runtime
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout be1fdab273a9e17d37b0258ee6e5a6a6f0689e89
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:4196:9: error: use of undeclared identifier 'atomisp_hw_is_isp2401'
if (!atomisp_hw_is_isp2401)
^
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:4206:9: error: use of undeclared identifier 'atomisp_hw_is_isp2401'
if (!atomisp_hw_is_isp2401)
^
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:4230:9: error: use of undeclared identifier 'atomisp_hw_is_isp2401'
if (!atomisp_hw_is_isp2401)
^
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:4239:9: error: use of undeclared identifier 'atomisp_hw_is_isp2401'
if (!atomisp_hw_is_isp2401)
^
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:4265:6: error: use of undeclared identifier 'atomisp_hw_is_isp2401'
if (atomisp_hw_is_isp2401)
^
5 errors generated.

vim +/atomisp_hw_is_isp2401 +4196 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c

ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4136  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4137  int atomisp_css_isr_thread(struct atomisp_device *isp,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4138  			   bool *frame_done_found,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4139  			   bool *css_pipe_done)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4140  {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4141  	enum atomisp_input_stream_id stream_id = 0;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4142  	struct atomisp_css_event current_event;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4143  	struct atomisp_sub_device *asd;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4144  	bool reset_wdt_timer[MAX_STREAM_NUM] = {false};
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4145  	int i;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4146  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4147  	while (!atomisp_css_dequeue_event(&current_event)) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4148  		if (current_event.event.type ==
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4149  		    IA_CSS_EVENT_TYPE_FW_ASSERT) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4150  			/*
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4151  			 * Received FW assertion signal,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4152  			 * trigger WDT to recover
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4153  			 */
eaa399eb542cdf drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4154  			dev_err(isp->dev,
eaa399eb542cdf drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4155  				"%s: ISP reports FW_ASSERT event! fw_assert_module_id %d fw_assert_line_no %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4156  				__func__,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4157  				current_event.event.fw_assert_module_id,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4158  				current_event.event.fw_assert_line_no);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4159  			for (i = 0; i < isp->num_of_streams; i++)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4160  				atomisp_wdt_stop(&isp->asd[i], 0);
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4161  
be1fdab273a9e1 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-06-01  4162  			if (!IS_ISP2401)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4163  				atomisp_wdt(&isp->asd[0].wdt);
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4164  			else
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4165  				queue_work(isp->wdt_work_queue, &isp->wdt_work);
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4166  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4167  			return -EINVAL;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4168  		} else if (current_event.event.type == IA_CSS_EVENT_TYPE_FW_WARNING) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4169  			dev_warn(isp->dev, "%s: ISP reports warning, code is %d, exp_id %d\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4170  				 __func__, current_event.event.fw_warning,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4171  				 current_event.event.exp_id);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4172  			continue;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4173  		}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4174  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4175  		asd = __get_atomisp_subdev(current_event.event.pipe,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4176  					   isp, &stream_id);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4177  		if (!asd) {
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4178  			if (current_event.event.type == IA_CSS_EVENT_TYPE_TIMER)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4179  				dev_dbg(isp->dev,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4180  					"event: Timer event.");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4181  			else
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4182  				dev_warn(isp->dev, "%s:no subdev.event:%d",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4183  					 __func__,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4184  					 current_event.event.type);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4185  			continue;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4186  		}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4187  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4188  		atomisp_css_temp_pipe_to_pipe_id(asd, &current_event);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4189  		switch (current_event.event.type) {
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4190  		case IA_CSS_EVENT_TYPE_OUTPUT_FRAME_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4191  			dev_dbg(isp->dev, "event: Output frame done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4192  			frame_done_found[asd->index] = true;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4193  			atomisp_buf_done(asd, 0, IA_CSS_BUFFER_TYPE_OUTPUT_FRAME,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4194  					 current_event.pipe, true, stream_id);
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4195  
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22 @4196  			if (!atomisp_hw_is_isp2401)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4197  				reset_wdt_timer[asd->index] = true; /* ISP running */
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4198  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4199  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4200  		case IA_CSS_EVENT_TYPE_SECOND_OUTPUT_FRAME_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4201  			dev_dbg(isp->dev, "event: Second output frame done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4202  			frame_done_found[asd->index] = true;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4203  			atomisp_buf_done(asd, 0, IA_CSS_BUFFER_TYPE_SEC_OUTPUT_FRAME,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4204  					 current_event.pipe, true, stream_id);
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4205  
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4206  			if (!atomisp_hw_is_isp2401)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4207  				reset_wdt_timer[asd->index] = true; /* ISP running */
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4208  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4209  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4210  		case IA_CSS_EVENT_TYPE_3A_STATISTICS_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4211  			dev_dbg(isp->dev, "event: 3A stats frame done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4212  			atomisp_buf_done(asd, 0,
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4213  					 IA_CSS_BUFFER_TYPE_3A_STATISTICS,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4214  					 current_event.pipe,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4215  					 false, stream_id);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4216  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4217  		case IA_CSS_EVENT_TYPE_METADATA_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4218  			dev_dbg(isp->dev, "event: metadata frame done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4219  			atomisp_buf_done(asd, 0,
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4220  					 IA_CSS_BUFFER_TYPE_METADATA,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4221  					 current_event.pipe,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4222  					 false, stream_id);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4223  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4224  		case IA_CSS_EVENT_TYPE_VF_OUTPUT_FRAME_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4225  			dev_dbg(isp->dev, "event: VF output frame done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4226  			atomisp_buf_done(asd, 0,
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4227  					 IA_CSS_BUFFER_TYPE_VF_OUTPUT_FRAME,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4228  					 current_event.pipe, true, stream_id);
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4229  
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4230  			if (!atomisp_hw_is_isp2401)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4231  				reset_wdt_timer[asd->index] = true; /* ISP running */
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4232  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4233  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4234  		case IA_CSS_EVENT_TYPE_SECOND_VF_OUTPUT_FRAME_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4235  			dev_dbg(isp->dev, "event: second VF output frame done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4236  			atomisp_buf_done(asd, 0,
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4237  					 IA_CSS_BUFFER_TYPE_SEC_VF_OUTPUT_FRAME,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4238  					 current_event.pipe, true, stream_id);
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4239  			if (!atomisp_hw_is_isp2401)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4240  				reset_wdt_timer[asd->index] = true; /* ISP running */
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4241  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4242  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4243  		case IA_CSS_EVENT_TYPE_DIS_STATISTICS_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4244  			dev_dbg(isp->dev, "event: dis stats frame done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4245  			atomisp_buf_done(asd, 0,
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4246  					 IA_CSS_BUFFER_TYPE_DIS_STATISTICS,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4247  					 current_event.pipe,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4248  					 false, stream_id);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4249  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4250  		case IA_CSS_EVENT_TYPE_PIPELINE_DONE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4251  			dev_dbg(isp->dev, "event: pipeline done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4252  			css_pipe_done[asd->index] = true;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4253  			break;
e6292f83601e95 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-21  4254  		case IA_CSS_EVENT_TYPE_ACC_STAGE_COMPLETE:
f48b7fd209cac5 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-27  4255  			dev_dbg(isp->dev, "event: acc stage done");
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4256  			atomisp_acc_done(asd, current_event.event.fw_handle);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4257  			break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4258  		default:
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4259  			dev_dbg(isp->dev, "unhandled css stored event: 0x%x\n",
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4260  				current_event.event.type);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4261  			break;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4262  		}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4263  	}
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4264  
3117ddda1ecef9 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-12  4265  	if (atomisp_hw_is_isp2401)
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4266  		return 0;
7ef17aa55fc381 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-22  4267  
3117ddda1ecef9 drivers/staging/media/atomisp/pci/atomisp_compat_css20.c          Mauro Carvalho Chehab 2020-05-12  4268  	/* ISP2400: If there are no buffers queued then delete wdt timer. */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4269  	for (i = 0; i < isp->num_of_streams; i++) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4270  		asd = &isp->asd[i];
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4271  		if (!asd)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4272  			continue;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4273  		if (asd->streaming != ATOMISP_DEVICE_STREAMING_ENABLED)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4274  			continue;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4275  		if (!atomisp_buffers_queued(asd))
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4276  			atomisp_wdt_stop(asd, false);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4277  		else if (reset_wdt_timer[i])
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4278  			/* SOF irq should not reset wdt timer. */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4279  			atomisp_wdt_refresh(asd,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4280  					    ATOMISP_WDT_KEEP_CURRENT_DELAY);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4281  	}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4282  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4283  	return 0;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4284  }
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_css20.c Mauro Carvalho Chehab 2020-04-19  4285  

:::::: The code at line 4196 was first introduced by commit
:::::: 7ef17aa55fc381a6f3280203cd85175cb14b631f media: atomisp: atomisp_compat_css20.c: detect ISP at runtime

:::::: TO: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux