]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: video: Kconfig: set MAX_XRES and MAX_YRES via Kconfig
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 31 May 2017 15:59:29 +0000 (17:59 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 8 Jun 2017 03:30:49 +0000 (21:30 -0600)
commite7691d4f96d2fb4076668a1827271be9692bdf04
treeeb70c0d790da7c37d2339d2aa6d492fd2e148288
parentdcbfb18aadce0e6a4a42ebbf9e93e1b3c64451a7
rockchip: video: Kconfig: set MAX_XRES and MAX_YRES via Kconfig

This introduces two new Kconfig options that configure the maximum
allowable framebuffer size (i.e. the memory reservation/allocation for
the framebuffer):
 - VIDEO_ROCKCHIP_MAX_XRES
 - VIDEO_ROCKCHIP_MAX_YRES
The resulting memory allocation will cover 4 byte per pixel for these
resolutions.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/rockchip/Kconfig
drivers/video/rockchip/rk_vop.c