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


Groups > linux.debian.kernel > #62382

Bug#911211: Increase default CMA size for armhf kernels

From Priit Laes <plaes@plaes.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#911211: Increase default CMA size for armhf kernels
Date 2018-10-17 08:40 +0200
Message-ID <wJNER-5Oz-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: linux-image-armmp-lpae
Version: 4.18+98~bpo9+1

Debian Stretch

Currently, the default CMA size for armhf kernels is set to 16M.
CMA allocator is used by display engine for storing framebuffer data.

At least on sunxi platform (specifically OLinuxino-Lime2-eMMC device)
it causes issues with larger displays (namely 1920x1080), because Xorg
fails to start with following cryptic message:

[snip]
[   855.117] (II) UnloadModule: "fbdev"
[   855.117] (II) Unloading fbdev
[   855.117] (II) UnloadSubModule: "fbdevhw"
[   855.117] (II) Unloading fbdevhw
[   855.118] (==) Depth 24 pixmap format is 32 bpp
[   855.118] (EE) 
Fatal server error:
[   855.118] (EE) AddScreen/ScreenInit failed for driver 0
[   855.118] (EE) 
[   855.119] (EE) 
[/snip]

Increasing CMA size to 24MB (it seems that it can be increased only
by 8MB steps) would be fine, because CMA memory utilization with
1920x1080 display is following:

$ cat /proc/meminfo  |grep Cma
CmaTotal:          24576 kB
CmaFree:            7932 kB

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


Thread

Bug#911211: Increase default CMA size for armhf kernels Priit Laes <plaes@plaes.org> - 2018-10-17 08:40 +0200
  Bug#911211: Increase default CMA size for armhf kernels Ben Hutchings <ben@decadent.org.uk> - 2018-10-17 13:20 +0200

csiph-web