aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorDavid Francis <[email protected]>2018-05-24 10:40:12 -0400
committerAlex Deucher <[email protected]>2018-05-24 10:07:56 -0500
commitb8f3439fa5358ac84d29fa2f4afa115500dec74c (patch)
tree921d7433eb3c3b39f4ca56e4445eeb26f0e78e23 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentf9fb22a21b380b14f70048fe719875e3523ac7d8 (diff)
drm/amd/display: Remove use of division operator for long longs
In fixed31_32.h, in dc_fixpt_shl,'/' was used for division of one long long int by another long long int. As there is no inbuilt long long int division function in c, gcc inserted its own. However, gcc does not link the library that contains this function. To avoid this, use bitwise operators instead of / Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: David Francis <[email protected]> Reviewed-by: Dmytro Laktyushkin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions