Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #92802

Bug#1138060: riscv64: please enable contiguous memory allocator (CMA) support, needed for HDMI displays

From Dominique Belhachemi <domibel@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1138060: riscv64: please enable contiguous memory allocator (CMA) support, needed for HDMI displays
Date 2026-05-28 06:50 +0200
Message-ID <MZAQV-8rnS-5@gated-at.bofh.it> (permalink)
References <MZqox-8kg0-1@gated-at.bofh.it> <MZsA1-8lFB-3@gated-at.bofh.it> <MZqox-8kg0-1@gated-at.bofh.it> <MZsA1-8lFB-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Wed, May 27, 2026 at 3:54 PM Aurelien Jarno <aurel32@debian.org> wrote:
>
> Hi Dominique,
>
> On 2026-05-27 13:34, Dominique Belhachemi wrote:
> > Source: linux
> > Severity: wishlist
> > X-Debbugs-Cc: debian-riscv@lists.debian.org
> > User: debian-riscv@lists.debian.org
> > 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

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1138060: riscv64: please enable contiguous memory allocator (CMA) support, needed for HDMI displays Dominique Belhachemi <domibel@debian.org> - 2026-05-27 19:40 +0200
  Bug#1138060: riscv64: please enable contiguous memory allocator (CMA) support, needed for HDMI displays Aurelien Jarno <aurel32@debian.org> - 2026-05-27 22:00 +0200
    Bug#1138060: riscv64: please enable contiguous memory allocator (CMA) support, needed for HDMI displays Dominique Belhachemi <domibel@debian.org> - 2026-05-28 06:50 +0200
      Bug#1138060: riscv64: please enable contiguous memory allocator (CMA) support, needed for HDMI displays Aurelien Jarno <aurel32@debian.org> - 2026-05-28 23:50 +0200
  Bug#1138060: marked as done (riscv64: please enable contiguous  memory allocator (CMA) support, needed for HDMI displays) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-05-29 06:40 +0200

csiph-web