fbdev: vfb: add option for video mode
authorVladimir Murzin <vladimir.murzin@arm.com>
Mon, 15 Aug 2016 10:10:31 +0000 (11:10 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 7 Sep 2016 09:06:13 +0000 (12:06 +0300)
commit95cc44a04f4c364affbc194820ad4ca5ab88f30c
tree9759b4fb11fab5e0069e1cb6cf01ce3b6781390c
parentcf957ccc76eeffee9f06d2f8f7c9260015076e92
fbdev: vfb: add option for video mode

Make vfb a bit more flexible in sense what it can represent and allow
the end user to specify video mode parameters via newly introduced module
option "mode". Since it is test module it is still up to the end user
to make sure there is enough memory to satisfy video mode settings.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
[tomi.valkeinen@ti.com: constified vfb_default]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/vfb.c