drm/amdgpu/display: fix FP handling in DCN30
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 23:25:01 +0000 (18:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Nov 2020 22:29:46 +0000 (17:29 -0500)
commit1a3089565e45af66b995d5fcfb4cca87aff68c7a
treed9c69ac7cf4cdfd1e785f70d47ef404058391976
parent2bdb83026a629905f08892a4da73e3dac2f6843c
drm/amdgpu/display: fix FP handling in DCN30

Adjust the FP handling to avoid nested calls.

The nested calls cause the warning below
WARNING: CPU: 3 PID: 384 at arch/x86/kernel/fpu/core.c:129 kernel_fpu_begin

Fixes: 582e2ce5b4ece3 ("drm/amdgpu/display: FP fixes for DCN3.x (v4)")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c