[PATCH v5 2/2] drm/tiny: Add driver for Sharp Memory LCD

kernel test robot lkp at intel.com
Tue Sep 3 15:46:41 UTC 2024


Hi Alex,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR on drm-misc/drm-misc-next linus/master v6.11-rc6 next-20240903]
[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/Alex-Lanzano/dt-bindings-display-Add-Sharp-Memory-LCD-bindings/20240902-041405
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20240901201118.3179206-3-lanzano.alex%40gmail.com
patch subject: [PATCH v5 2/2] drm/tiny: Add driver for Sharp Memory LCD
config: x86_64-randconfig-102-20240903 (https://download.01.org/0day-ci/archive/20240903/202409032359.jHPOaDBF-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240903/202409032359.jHPOaDBF-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409032359.jHPOaDBF-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/tiny/sharp-memory.c: In function 'sharp_memory_crtc_enable':
>> drivers/gpu/drm/tiny/sharp-memory.c:344:17: error: implicit declaration of function 'pwm_apply_state'; did you mean 'pwm_apply_args'? [-Werror=implicit-function-declaration]
     344 |                 pwm_apply_state(smd->pwm_vcom_signal, &pwm_state);
         |                 ^~~~~~~~~~~~~~~
         |                 pwm_apply_args
   cc1: some warnings being treated as errors


vim +344 drivers/gpu/drm/tiny/sharp-memory.c

   318	
   319	static void sharp_memory_crtc_enable(struct drm_crtc *crtc,
   320					     struct drm_atomic_state *state)
   321	{
   322		struct pwm_state pwm_state;
   323		struct sharp_memory_device *smd = drm_to_sharp_memory_device(crtc->dev);
   324	
   325		sharp_memory_clear_display(smd);
   326	
   327		if (smd->enable_gpio)
   328			gpiod_set_value(smd->enable_gpio, 1);
   329	
   330		switch (smd->vcom_mode) {
   331		case SHARP_MEMORY_SOFTWARE_VCOM:
   332			smd->sw_vcom_signal = kthread_run(sharp_memory_sw_vcom_signal_thread,
   333							  smd, "sw_vcom_signal");
   334			break;
   335	
   336		case SHARP_MEMORY_EXTERNAL_VCOM:
   337			break;
   338	
   339		case SHARP_MEMORY_PWM_VCOM:
   340			pwm_get_state(smd->pwm_vcom_signal, &pwm_state);
   341			pwm_state.period =    1000000000;
   342			pwm_state.duty_cycle = 100000000;
   343			pwm_state.enabled = true;
 > 344			pwm_apply_state(smd->pwm_vcom_signal, &pwm_state);
   345			break;
   346		}
   347	}
   348	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


More information about the dri-devel mailing list