summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bochs/bochs_fbdev.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-04-25 21:56:53 +0200
committerLiviu Dudau <Liviu.Dudau@arm.com>2017-04-26 17:54:58 +0100
commit763656d30b3d220a52e4b2bd1fc174a4cd6c0f43 (patch)
treeea546747872e054429aab11defc21a0987ccd898 /drivers/gpu/drm/bochs/bochs_fbdev.c
parentc2e7f82d336a451ebb904b8bf9a5a558cf16c39b (diff)
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 'drivers/gpu/drm/bochs/bochs_fbdev.c')
0 files changed, 0 insertions, 0 deletions