]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Move FPU Guards From DML To DC - Part 2
authorRafal Ostrowski <rafal.ostrowski@amd.com>
Wed, 18 Feb 2026 15:19:47 +0000 (16:19 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Mar 2026 19:06:26 +0000 (15:06 -0400)
commit4bb2f0721ed8a2a70f864b9358bd6cd4d92199b3
tree16a62fa0c4585092cbc4e9a7f50a9a60fe7d8265
parent3539437f354bd24c98928a80d4db3a23fa2a7b19
drm/amd/display: Move FPU Guards From DML To DC - Part 2

[Why]
FPU guards (DC_FP_START/DC_FP_END) are required to wrap around code that
can manipulates floats. To do this properly, the FPU guards must be used
in a file that is not compiled as a FPU unit. If the guards are used in
a file that is a FPU unit, other sections in the file that aren't guarded
may be end up being compiled to use FPU operations.

[How]
Removed DC_FP_START and DC_FP_END.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Rafal Ostrowski <rafal.ostrowski@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Chuanyu Tseng <Chuanyu.Tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2_0/Makefile
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper.c
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper.h
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper_fpu.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper_fpu.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_wrapper.c
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_wrapper_fpu.c