]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37f844dc1e1b13922fcae9b1154b9d879108a82a
treed9c69ac7cf4cdfd1e785f70d47ef404058391976
parentde9d83dabe9497e2432ca4b4622a2ef4b11979ce
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: fde5494254e3cc ("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