]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/nouveau: by default use low bpp framebuffer on low memory cards
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 6 Nov 2011 19:32:04 +0000 (20:32 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2011 23:02:41 +0000 (09:02 +1000)
commit1e482f75f169861e992eb6b5602dc73a9e0b63a2
tree8785ad26b68c3951ffcb4d9461e344f808cf1ffb
parent4beb116a454867cc3a98d02d906e0f0459aefe72
drm/nouveau: by default use low bpp framebuffer on low memory cards

Framebuffer's BPP is not that important but can waste significant part
of memory on low-VRAM cards. Lower it to 8bpp on < 32MB cards and to
16bpp on 64MB cards. It can still be overridden by video= option.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_fbcon.c