diff options
| author | Rodrigo Siqueira <[email protected]> | 2022-06-30 18:46:18 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-06-30 23:34:36 +0000 |
| commit | 0d8928a94ba18205cc7b41793af333e6731e9d76 (patch) | |
| tree | ab7cf53230014ffb3d7715d769dbff649c260e1e /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
| parent | drm/amdkfd: Bump KFD API version for SMI profiling event (diff) | |
| download | kernel-0d8928a94ba18205cc7b41793af333e6731e9d76.tar.gz kernel-0d8928a94ba18205cc7b41793af333e6731e9d76.zip | |
drm/amd/display: Fix __umoddi3 undefined for 32 bit compilation
While we tried to build amdgpu on i386, we got this error:
ERROR: modpost: "__umoddi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
This commit fixes this issue by replacing the standard module operator
with div_u64_rem.
Cc: Aurabindo Pillai <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Randy Dunlap <[email protected]>
Fixes: d3dfceb58de5 ("drm/amd/display: Add dependant changes for DCN32/321")
Reported-by: Stephen Rothwell <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]> # build-tested
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions
