[linux-next:master 2923/3376] drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/rc_calc_dpi.c:116: undefined reference to `__udivdi3'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4b74e088fef6ce8cc513f935ce236c38bdf5f67b
commit: c34f1652a18c4bd4d0bb9e7c7d946861c3ed73c9 [2923/3376] drm/amd/display: fixed an error related to 4:2:0/4:2:2 DSC
config: i386-randconfig-a014-20211122 (https://download.01.org/0day-ci/archive/20211124/202111241842.pSYgc67V-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c34f1652a18c4bd4d0bb9e7c7d946861c3ed73c9
        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 c34f1652a18c4bd4d0bb9e7c7d946861c3ed73c9
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   ld: drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.o: in function `dscc_compute_dsc_parameters':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/rc_calc_dpi.c:116: undefined reference to `__udivdi3'


vim +116 drivers/gpu/drm/amd/amdgpu/../display/dc/dsc/rc_calc_dpi.c

    97	
    98	int dscc_compute_dsc_parameters(const struct drm_dsc_config *pps, struct dsc_parameters *dsc_params)
    99	{
   100		int              ret;
   101		struct rc_params rc;
   102		struct drm_dsc_config   dsc_cfg;
   103	
   104		calc_rc_params(&rc, pps);
   105		dsc_params->pps = *pps;
   106		dsc_params->pps.initial_scale_value = 8 * rc.rc_model_size / (rc.rc_model_size - rc.initial_fullness_offset);
   107	
   108		copy_pps_fields(&dsc_cfg, &dsc_params->pps);
   109		copy_rc_to_cfg(&dsc_cfg, &rc);
   110	
   111		dsc_cfg.mux_word_size = dsc_params->pps.bits_per_component <= 10 ? 48 : 64;
   112	
   113		ret = drm_dsc_compute_rc_parameters(&dsc_cfg);
   114		dsc_params->bytes_per_pixel =
   115				(uint32_t)(((unsigned long long)dsc_cfg.slice_chunk_size * 0x10000000 + (dsc_cfg.slice_width - 1))
 > 116								/ (uint32_t)dsc_cfg.slice_width);  //ROUND-UP
   117	
   118		copy_pps_fields(&dsc_params->pps, &dsc_cfg);
   119		dsc_params->rc_buffer_model_size = dsc_cfg.rc_bits;
   120		return ret;
   121	}
   122	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux