[PATCH] video: imx: assert that image buffer doesn't cross a 4 MiB boundary
Sascha Hauer
s.hauer at pengutronix.de
Sun Sep 20 23:09:38 PDT 2015
On Wed, Sep 16, 2015 at 10:00:44PM +0200, Uwe Kleine-König wrote:
> The reference manual (for the i.MX25 in my case) states:
>
> This field must start at a location that enables a complete
> picture to be stored in a 4 Mbyte memory boundary (A [21:0]). A
> [31:22] has a fixed value for a picture’s image.
>
> Check this condition for user-supplied framebuffer values and enforce it
> for driver-allocated buffers.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list