]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu: Prevent build errors regarding soft/hard-float FP ABI tags
authorDaniel Kolesa <daniel@octaforge.org>
Thu, 6 Feb 2020 19:14:35 +0000 (20:14 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Feb 2020 16:44:57 +0000 (11:44 -0500)
commitde570bf60c3ce99f7054f4e4dcb5ab45e22ce27a
tree818832342a5a055b60ee25127cc4ba583d0a2f1f
parent09d23484d951d557f742b3e6d23181460c11b4f8
amdgpu: Prevent build errors regarding soft/hard-float FP ABI tags

On PowerPC, the compiler will tag object files with whether they
use hard or soft float FP ABI and whether they use 64 or 128-bit
long double ABI. On systems with 64-bit long double ABI, a tag
will get emitted whenever a double is used, as on those systems
a long double is the same as a double. This will prevent linkage
as other files are being compiled with hard-float.

On ppc64, this code will never actually get used for the time
being, as the only currently existing hardware using it are the
Renoir APUs. Therefore, until this is testable and can be fixed
properly, at least make sure the build will not fail.

Signed-off-by: Daniel Kolesa <daniel@octaforge.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile