aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2019-08-20 23:57:13 +0000
committerAlex Deucher <[email protected]>2019-08-22 03:18:46 +0000
commitb859c579cdff00a6458d69442a19f85a403fd71b (patch)
tree847b92e64fe5f2a82912d4dce847e608e935c62e /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl (diff)
downloadkernel-b859c579cdff00a6458d69442a19f85a403fd71b.tar.gz
kernel-b859c579cdff00a6458d69442a19f85a403fd71b.zip
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: b5b1f4554904 ("drm/amd/display: Enable type C hotplug") Reported-by: Randy Dunlap <[email protected]> Acked-by: Randy Dunlap <[email protected]> # build-tested Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions