[drm-misc:drm-misc-next 29/29] drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c:213:17: error: implicit declaration of function 'drm_connector_hdmi_compute_mode_clock'; did you mean 'drm_hdmi_compute_mode_clock'?

kernel test robot lkp at intel.com
Tue May 28 14:28:31 UTC 2024


tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   62545c719e26ec9f62efab7e9582deb73265b6d0
commit: ea64761a54a25fa2c27bae99b3c72dadfaa74d3e [29/29] drm/sun4i: hdmi: Switch to HDMI connector
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240528/202405282248.U2lhPvCK-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240528/202405282248.U2lhPvCK-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/202405282248.U2lhPvCK-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c: In function 'sun4i_hdmi_connector_mode_valid':
>> drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c:213:17: error: implicit declaration of function 'drm_connector_hdmi_compute_mode_clock'; did you mean 'drm_hdmi_compute_mode_clock'? [-Werror=implicit-function-declaration]
     213 |                 drm_connector_hdmi_compute_mode_clock(mode, 8,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                 drm_hdmi_compute_mode_clock
   cc1: all warnings being treated as errors


vim +213 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c

   207	
   208	static enum drm_mode_status
   209	sun4i_hdmi_connector_mode_valid(struct drm_connector *connector,
   210					struct drm_display_mode *mode)
   211	{
   212		unsigned long long rate =
 > 213			drm_connector_hdmi_compute_mode_clock(mode, 8,
   214							      HDMI_COLORSPACE_RGB);
   215	
   216		return sun4i_hdmi_connector_clock_valid(connector, mode, rate);
   217	}
   218	

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


More information about the dri-devel mailing list