Files
linux/drivers/gpu/drm
Nathan Chancellor b859c579cd drm/amd/display: Fix 32-bit divide error in wait_for_alt_mode
When building arm32 allyesconfig:

ld.lld: error: undefined symbol: __aeabi_uldivmod
>>> referenced by dc_link.c
>>> gpu/drm/amd/display/dc/core/dc_link.o:(wait_for_alt_mode) in archive drivers/built-in.a
>>> referenced by dc_link.c
>>> gpu/drm/amd/display/dc/core/dc_link.o:(wait_for_alt_mode) in archive drivers/built-in.a

time_taken_in_ns is of type unsigned long long so we need to use div_u64
to avoid this error.

Fixes: b5b1f45549 ("drm/amd/display: Enable type C hotplug")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-21 22:18:46 -05:00
..
2019-08-02 17:31:39 +01:00
2019-07-22 21:24:10 +02:00
2019-08-06 08:21:53 +02:00
2019-08-06 09:20:58 +02:00
2019-07-22 21:24:10 +02:00
2019-07-15 18:11:30 +02:00
2019-06-19 12:07:29 +02:00
2019-07-22 21:24:10 +02:00
2019-07-17 12:52:55 +02:00
2019-06-25 00:10:24 +02:00
2019-07-17 12:47:57 +02:00
2019-06-30 09:48:05 +02:00
2019-07-15 18:11:30 +02:00
2019-07-22 21:24:10 +02:00
2019-07-17 12:52:55 +02:00
2019-06-05 20:31:04 +02:00
2019-07-15 18:11:31 +02:00
2019-06-05 20:29:57 +02:00
2019-07-17 12:52:55 +02:00
2019-07-22 21:24:10 +02:00
2019-07-15 18:11:30 +02:00
2019-07-17 12:52:55 +02:00
2019-07-17 12:52:20 +02:00
2019-07-22 21:24:10 +02:00
2019-07-25 17:35:20 +02:00
2019-07-15 18:11:30 +02:00
2019-07-15 18:11:30 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-07-22 21:24:10 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-07-25 10:45:07 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-07-31 15:17:03 +02:00