On Wed, May 27, 2026 at 3:54 PM Aurelien Jarno <[email protected]> wrote:
>
> Hi Dominique,
>
> On 2026-05-27 13:34, Dominique Belhachemi wrote:
> > Source: linux
> > Severity: wishlist
> > X-Debbugs-Cc: [email protected]
> > User: [email protected]
> > Usertags: riscv64
> >
> > Dear maintainer,
> >
> > Please enable CMA on riscv64.
> >
> >   CONFIG_CMA=y
> >   CONFIG_DMA_CMA=y
>
> Both options got enabled starting with linux 7.1~rc3-1~exp1, currently
> available in experimental. Could you please confirm that it works for
> your use case?
>
Hi Aurelien,
Thank you, yes it works. I just tested it with 7.1~rc4-1~exp1 on a
VisionFive 2 SBC with additional HDMI patches.
Debian's kernel config uses
    CONFIG_CMA_SIZE_MBYTES=64
which is good enough for two 1920x1080 framebuffers.
For 4K I could simply specify cma=128M on the cmdline.

Best
-Dominique

Reply via email to