tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   d9c54d61df327dc93374b718d7941a09e02e32e1
commit: 1d752442f3d6275b40bace55d022e792167f7fca [597/638] drm/amd/display: Use 
100 Hz precision for pipe pixel clocks
config: i386-randconfig-n0-12220509 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 1d752442f3d6275b40bace55d022e792167f7fca
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the radeon-alex/amd-staging-drm-next HEAD 
d9c54d61df327dc93374b718d7941a09e02e32e1 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.o: In function 
`amdgpu_dm_do_flip':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4615: undefined 
reference to `__udivdi3'
   drivers/gpu/drm/amd/display/dc/dce80/dce80_timing_generator.o: In function 
`program_pix_dur':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_timing_generator.c:97: 
>> undefined reference to `__udivdi3'

vim +97 drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_timing_generator.c

    86  
    87  static void program_pix_dur(struct timing_generator *tg, uint32_t 
pix_clk_100hz)
    88  {
    89          uint64_t pix_dur;
    90          uint32_t addr = mmDMIF_PG0_DPG_PIPE_ARBITRATION_CONTROL1
    91                                          + 
DCE110TG_FROM_TG(tg)->offsets.dmif;
    92          uint32_t value = dm_read_reg(tg->ctx, addr);
    93  
    94          if (pix_clk_100hz == 0)
    95                  return;
    96  
  > 97          pix_dur = 10000000000ull / pix_clk_100hz;
    98  
    99          set_reg_field_value(
   100                  value,
   101                  pix_dur,
   102                  DPG_PIPE_ARBITRATION_CONTROL1,
   103                  PIXEL_DURATION);
   104  
   105          dm_write_reg(tg->ctx, addr, value);
   106  }
   107  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to