amdgpu: Wrap FPU dependent functions in dc20
authorTimothy Pearson <tpearson@raptorengineering.com>
Sat, 7 Dec 2019 22:48:09 +0000 (16:48 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:05 +0000 (16:09 -0500)
commit7a8a3430be15e4e6b3455f71853e7db765323889
tree15812cfdac21bd28108e5f5b7f89c5d96e5b1b8b
parent16a9dea110a67d62401ffeac4828cabdedec7548
amdgpu: Wrap FPU dependent functions in dc20

dc20 containes several FPU-dependent functions without proper FPU
kernel mode enable/disable wrappers.  Add the required wrappers
for both x86 and POWER.

This enables Navi DC20 support for POWER systems.

v2: fix compilation

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c