]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: video: Dynamically reserve framebuffer memory
authorHans de Goede <hdegoede@redhat.com>
Mon, 2 Feb 2015 17:00:53 +0000 (18:00 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:20 +0000 (13:52 +0200)
commit7c20a306ed6d367da50d53e0570f5cc269cfa3a7
treec637ce9d6dabd525e0a0723bef812f8b718a44df
parent2f3a4d290537aeb0108eb4de7efdde0578c800bd
sunxi: video: Dynamically reserve framebuffer memory

Only use CONFIG_SUNXI_MAX_FB_SIZE to reserve memory at the top when relocating
u-boot, and calculate the actual amount of memory necessary when setting up
the video-mode and use only that, freeing up some additional memory for use
by the kernel.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/video/sunxi_display.c