-
- Downloads
drm/amd/display: move remaining FPU code to dml folder
pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_luma = 0; pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_chroma = 0; these two operations in dcn32/dcn32_resource.c still need to use FPU, This will cause compilation to fail on ARM64 platforms because -mgeneral-regs-only is enabled by default to disable the hardware FPU. Therefore, imitate the dcn31_zero_pipe_dcc_fraction function in dml/dcn31/dcn31_fpu.c, declare the dcn32_zero_pipe_dcc_fraction function in dcn32_fpu.c, and move above two operations into this function. 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>
Showing
- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c 3 additions, 2 deletionsdrivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
- drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c 8 additions, 0 deletionsdrivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
- drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h 3 additions, 0 deletionsdrivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h
Loading
Please register or sign in to comment