diff options
| author | Lang Yu <[email protected]> | 2021-01-22 08:42:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-01-25 22:45:53 +0000 |
| commit | 9024fb08159ae8f3a707c9f1facb878c84aae735 (patch) | |
| tree | 3dd92663dc6f4b7431f7361638553538489bb4cb /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Revert "drm/amd/display: Tune min clk values for MPO for RV" (diff) | |
| download | kernel-9024fb08159ae8f3a707c9f1facb878c84aae735.tar.gz kernel-9024fb08159ae8f3a707c9f1facb878c84aae735.zip | |
drm/amd/display: fix 64-bit division issue on 32-bit OS
Replace "/" with div_u64 for 32-bit OS. On 32-bit OS,
the use of "/" for 64-bit division will cause build error,
i.e. "__udivdi3/__divdi3 undefined!".
Fixes: ea7154d8d9fb26 ("drm/amd/display: Update dcn30_apply_idle_power_optimizations() code")
Signed-off-by: Lang Yu <[email protected]>
Acked-by: Huang Rui <[email protected]>
Reviewed-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
