drm/amd/display: add DCN support for ARM64
authorAo Zhong <hacc1225@gmail.com>
Mon, 31 Oct 2022 19:37:40 +0000 (20:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2022 20:05:54 +0000 (16:05 -0400)
commit79b72db63392d35a4dbcd4743b95cb668691f790
tree1d99d02138e0ca3d190a6cb08bef5554a3961d00
parentec4927d463cbf385be212af1ade9f5a6f1474d4f
drm/amd/display: add DCN support for ARM64

After moving all FPU code to the DML folder, we can enable DCN support
for the ARM64 platform. Remove the -mgeneral-regs-only CFLAG from the
code in the DML folder that needs to use hardware FPU, and add a control
mechanism for ARM Neon.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Ao Zhong <hacc1225@gmail.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/Kconfig
drivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.c
drivers/gpu/drm/amd/display/dc/dml/Makefile