diff options
author | 2017-04-25 21:56:53 +0200 | |
---|---|---|
committer | 2017-04-26 17:54:58 +0100 | |
commit | 763656d30b3d220a52e4b2bd1fc174a4cd6c0f43 (patch) | |
tree | ea546747872e054429aab11defc21a0987ccd898 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm: mali-dp: Check the mclk rate and allow up/down scaling (diff) | |
download | wireguard-linux-763656d30b3d220a52e4b2bd1fc174a4cd6c0f43.tar.xz wireguard-linux-763656d30b3d220a52e4b2bd1fc174a4cd6c0f43.zip |
drm: mali-dp: use div_u64 for expensive 64-bit divisions
On 32-bit machines, we can't divide 64-bit integers:
drivers/gpu/drm/arm/malidp_crtc.o: In function `malidp_crtc_atomic_check':
malidp_crtc.c:(.text.malidp_crtc_atomic_check+0x3c0): undefined reference to `__aeabi_uldivmod'
malidp_crtc.c:(.text.malidp_crtc_atomic_check+0x3dc): undefined reference to `__aeabi_uldivmod'
This calls the div_u64 function explicitly instead.
Fixes: 4cea4e9f6690 ("drm: mali-dp: Add plane upscaling support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions