Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-28 Thread Rodrigo Siqueira Jordao
On 2022-10-27 15:24, Estela ad Astra wrote: Hello. I have tested it on a Phytium D2000 platform with RX 5500 XT. Distro: Arch Linux ARM Kernel: Linux 6.0.5-1-phytium aarch64 (patched, https://github.com/saeziae/pkgbuild-linux-phytium ) Plug and unplug: OK on all ports. Resolutions

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Estela ad Astra
Hello. I have tested it on a Phytium D2000 platform with RX 5500 XT. Distro: Arch Linux ARM Kernel: Linux 6.0.5-1-phytium aarch64 (patched, https://github.com/saeziae/pkgbuild-linux-phytium ) Plug and unplug: OK on all ports. Resolutions tested:  3840x2160@60Hz, 2560x1440@60Hz,

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Ao Zhong
Hi Rodrigo, I have done these tests. CPU: Kunpeng 920 3211k x24 TSV110 Core GPU: AMD RX 6400 Monitor on DP: Mi Curved Gaming Monitor 34" (support FreeSync and 3440x1440 at 144Hz on DP) Monitor on HDMI: a cheap 1080P HDMI capture card (ID: 534d:2109) Distro: Gentoo with Linux 6.0.5 kernel

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Ao Zhong
Here is the output from kms_flip: IGT-Version: 1.26-NO-GIT (aarch64) (Linux: 6.0.5-gentoo-arm64 aarch64) Using monotonic timestamps Starting subtest: nonblocking-read Subtest nonblocking-read: SUCCESS (0.000s) Starting subtest: wf_vblank-ts-check Starting dynamic subtest: A-DP1   3440x1440 50

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

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:

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Rodrigo Siqueira
On 10/27/22 11:22, Nathan Chancellor wrote: Hi Rodrigo, On Thu, Oct 27, 2022 at 10:29:33AM -0400, Rodrigo Siqueira wrote: Nathan/Stephen, Maybe I'm wrong, but I think you have access to some sort of CI that tests multiple builds with different compiles and configs, right? Is it possible to

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Nathan Chancellor
Hi Rodrigo, On Thu, Oct 27, 2022 at 10:29:33AM -0400, Rodrigo Siqueira wrote: > Nathan/Stephen, > > Maybe I'm wrong, but I think you have access to some sort of CI that tests > multiple builds with different compiles and configs, right? Is it possible > to check this patch + amd-staging-drm-next

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Rodrigo Siqueira
Hi Ao/Arnd/Stephen/Nathan, Ao, Thanks a lot for this new patch. Since you have an ARM64 + AMD GPU, could you also run a couple of tests in your setup? If so, this is a good set of tests imho: 1. Check plug and unplug displays (let says 5x) 2. Change resolutions 3. (most wanted test) Could

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Ao Zhong
OK, I'll replace $(dml_rcflags_arm64) with $(dml_rcflags). Am Do., 27. Okt. 2022 um 15:45 Uhr schrieb Arnd Bergmann : > > On Thu, Oct 27, 2022, at 15:38, Ao Zhong wrote: > > Am Do., 27. Okt. 2022 um 12:52 Uhr schrieb Arnd Bergmann : > > > >> Why do you need separate $(dml_rcflags) and

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Arnd Bergmann
On Thu, Oct 27, 2022, at 15:38, Ao Zhong wrote: > Am Do., 27. Okt. 2022 um 12:52 Uhr schrieb Arnd Bergmann : > >> Why do you need separate $(dml_rcflags) and $(dml_rcflags_arm64) >> rather than adding -mgeneral-regs-only to $(dml_rcflags) directly? > > I don't know if $(dml_rcflags) has any other

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Ao Zhong
Am Do., 27. Okt. 2022 um 12:52 Uhr schrieb Arnd Bergmann : > > On Thu, Oct 27, 2022, at 02:25, Ao Zhong wrote: > > 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

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Christian König
Am 27.10.22 um 12:52 schrieb Arnd Bergmann: On Thu, Oct 27, 2022, at 02:25, Ao Zhong wrote: 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

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Arnd Bergmann
On Thu, Oct 27, 2022, at 02:25, Ao Zhong wrote: > 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. > >

Re: [PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-27 Thread Christian König
Am 27.10.22 um 02:25 schrieb Ao Zhong: 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. It's nice to see

[PATCH RESEND 1/1] drm/amd/display: add DCN support for ARM64

2022-10-26 Thread Ao Zhong
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. Signed-off-by: Ao Zhong ---