diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-07-06 15:33:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-07 15:57:15 -0400 |
commit | bdd0d7e290e0e4c8f7545fff89770abbd22bd51a (patch) | |
tree | fc29e280b0d85320246b1f48f6d27af3ed3a2376 /drivers/gpu/drm/amd/display/dc/bios | |
parent | 11d526f1972f486aa222fdfba751d2f0249c002a (diff) | |
download | linux-stable-bdd0d7e290e0e4c8f7545fff89770abbd22bd51a.tar.gz linux-stable-bdd0d7e290e0e4c8f7545fff89770abbd22bd51a.tar.bz2 linux-stable-bdd0d7e290e0e4c8f7545fff89770abbd22bd51a.zip |
drm/amd/display: fix non-x86/PPC64 compilation
Need to protect FP DMCUB code with CONFIG_DRM_AMD_DC_DCN.
Fixes build failures like the following on arm64:
ERROR: modpost: "__floatunsidf" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "__divdf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "fma" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "__adddf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "__fixdfsi" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "__muldf3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "__floatsidf" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost: "__fixunsdfsi" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
Fixes: 85f4bc0c333c ("drm/amd/display: Add SubVP required code")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios')
0 files changed, 0 insertions, 0 deletions