]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix __nedf2 undefined for 32 bit compilation
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 30 Jun 2022 18:46:21 +0000 (14:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jun 2022 23:35:14 +0000 (19:35 -0400)
commitaef9e0a8a41f661e860ef26ac9faaf0b916e1d25
tree136289b18d47012f7547d0010bd7e0054406cb9f
parented82de8c14fdb06d8673b31dac7ebab62c7ec8da
drm/amd/display: Fix __nedf2 undefined for 32 bit compilation

When we tried to compile DCN32/321 for 32-bit architecture, we got this
error message:

ERROR: modpost: "__nedf2" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!

This commit fixes this issue by rewriting a small part of the
dcn32_build_wm_range_table.

Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Fixes: 68b209d4b1f0 ("drm/amd/display: add CLKMGR changes for DCN32/321")
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c