Use div_u64() instead of mult_fract as u64 operator division fails on 32 bit
systems which don't link against libgcc.
Fixes: 5c66647a5c3e ("media: iris: add FPS calculation and VPP FW overhead in frequency formula")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202606030132.qnBXVDkM-lkp@intel.com/
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
/* 1.05 is VPP FW overhead */
if (inst->fw_caps[STAGE].value == STAGE_2)
- vpp_cycles += mult_frac(vpp_cycles, 5, 100);
+ vpp_cycles += div_u64(vpp_cycles * 5, 100);
vsp_cycles = fps * data_size * 8;
vsp_cycles = div_u64(vsp_cycles, 2);