[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#911211: Increase default CMA size for armhf kernels



Control: clone -1 -2
Control: reassign -1 src:linux
Control: reassign -2 xserver-xorg-video-fbdev
Control: retitle -2 xserver-xorg-video-fbdev: No clear error message for init failure

On Wed, 2018-10-17 at 06:27 +0000, Priit Laes wrote:
> 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:
[...]

The need for CMA is highly dependent on the hardware and applications
used.  So I don't think we can set a default which will please
everyone.  You can always override the built-in default size using the
cma parameter on the kernel command line.

That said, it seems reasonable to raise the default - when it is larger
than needed, the pages not allocated to the drivers that need it can
still be allocated to user processes, just not for other in-kernel
purposes.

Ben.

-- 
Ben Hutchings
Man invented language to satisfy his deep need to complain.
                                                          - Lily Tomlin

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: