]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
video: ARM CLCD: fix dma allocation size
authorLiam Beguin <lbeguin@tycoint.com>
Fri, 7 Apr 2017 15:03:24 +0000 (17:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:37:15 +0000 (09:37 +0100)
commitdb0669185b205e6c73e58f2d8190847d81fa316e
treeef2c1fd6d3d5ac8da6b31a440e2dcd2aad89e88e
parent6028fc34f21224e54b7a5f4e11c88a2ce850a9f3
video: ARM CLCD: fix dma allocation size

[ Upstream commit 9a1c779e6b06855e41099caa6f15b3b584dfa88c ]

This patch forces the frambuffer size to be aligned on kernel pages.

During the board startup, the splash screed did appear;
the "ts_test" program or our application were not able to start.

The following error message was reported:
error: failed to map framebuffer device to memory.
LinuxFB: driver cannot connect

The issue was discovered, on the LPC32xx platform, during the migration
of the LCD definition from the board file to the device tree.

Signed-off-by: Liam Beguin <lbeguin@tycoint.com>
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/fbdev/amba-clcd.c