Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-04-05 Thread daichengrong
在 2025/3/20 19:17:21, Rémi Denis-Courmont : Hi, Le 20 mars 2025 11:27:39 GMT+02:00, daichengrong a écrit : Availability of RVV and ZVBB should be determined with dl_hwcap. No. That's completely superfluous since we already check for kernel support with hwprobe(). No. If the operating syst

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-20 Thread Rémi Denis-Courmont
Hi, Le 21 mars 2025 04:12:14 GMT+02:00, daichengrong a écrit : > >在 2025/3/20 19:17:21, Rémi Denis-Courmont : >> Hi, >> >> Le 20 mars 2025 11:27:39 GMT+02:00, daichengrong >> a écrit : > Availability of RVV and ZVBB should be determined with dl_hwcap. No. That's completely superfluou

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-20 Thread Rémi Denis-Courmont
Hi, Le 20 mars 2025 11:27:39 GMT+02:00, daichengrong a écrit : >>> Availability of RVV and ZVBB should be determined with dl_hwcap. >> No. That's completely superfluous since we already check for kernel support >> with hwprobe(). >No. If the operating system does not enable dl_hwcap support for

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-20 Thread daichengrong
hi, The reply email was mistakenly classified as spam, resulting in not being seen in time. Late reply. 在 2025/3/15 12:03:09, Rémi Denis-Courmont : Hi, Le 14 mars 2025 17:32:57 GMT+07:00, daichengr...@iscas.ac.cn a écrit : From: daichengrong Availability of RVV and ZVBB should be determi

Re: [FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-14 Thread Rémi Denis-Courmont
Hi, Le 14 mars 2025 17:32:57 GMT+07:00, daichengr...@iscas.ac.cn a écrit : >From: daichengrong > >Availability of RVV and ZVBB should be determined with dl_hwcap. No. That's completely superfluous since we already check for kernel support with hwprobe(). And we can't check for Zb* and Zv* with

[FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV

2025-03-14 Thread daichengrong
From: daichengrong Availability of RVV and ZVBB should be determined with dl_hwcap. As those extensions rely on vector registers, kernel vector support is required to save the state of context switching. FFmpeg requires hwprobe for hardware capability detection, and cooperates with dl_hwcap t