Re: [PATCH v3 2/2] drm/amd/display: move remaining FPU code to dml folder

2022-10-27 Thread Ao Zhong
Here are some lshw information hacc-arm64-pc     description: Desktop Computer     product: HUAWEIPGU-WBY0 (C233)     vendor: HUAWEI     version: D1060     serial:     width: 64 bits     capabilities: smbios-3.2.0 dmi-3.2.0 smp cp15_barrier setend swp tagged_addr_disabled     configuration: chass

Re: [PATCH v3 2/2] drm/amd/display: move remaining FPU code to dml folder

2022-10-27 Thread Ao Zhong
There isn't much information on the internet for Qingyun W510 as this is not a retail machine. But I'm happy to provide any details about this machine. The Qingyun W510 is powered by Huawei's server SoC Kunpeng 920, it's SBSA compatible. Information about Kunpeng 920 can be found here. Link: https

Re: [PATCH v3 2/2] drm/amd/display: move remaining FPU code to dml folder

2022-10-27 Thread Rodrigo Siqueira
Hi Ao, Could you share a link that describe your workstation? Thanks On 10/26/22 17:17, Ao Zhong wrote: Hi Rodrigo, Thanks for your review! This is my first time submitting a patch to the kernel. I'm not very good at using these tools yet. 😂 Recently I got a Huawei Qingyun W510 (擎云 W510) AR

Re: [PATCH v3 2/2] drm/amd/display: move remaining FPU code to dml folder

2022-10-26 Thread Ao Zhong
Hi Rodrigo, Thanks for your review! This is my first time submitting a patch to the kernel. I'm not very good at using these tools yet. 😂 Recently I got a Huawei Qingyun W510 (擎云 W510) ARM workstation from the second-hand market in China. It's SBSA and has a Kunpeng 920 (3211k) SoC with 24 Hu

Re: [PATCH v3 2/2] drm/amd/display: move remaining FPU code to dml folder

2022-10-26 Thread Rodrigo Siqueira
On 10/26/22 07:13, Ao Zhong wrote: 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 -mgenera

[PATCH v3 2/2] drm/amd/display: move remaining FPU code to dml folder

2022-10-26 Thread Ao Zhong
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 dis