Home
last modified time | relevance | path

Searched hist:c67a8767f57989704304d64d9e9006007e2ff083 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/video/
H A Dcfb_console.cc67a8767f57989704304d64d9e9006007e2ff083 Tue Aug 04 10:15:39 UTC 2015 Hans de Goede <hdegoede@redhat.com> cfbconsole: Add support for stride != width

cfbconsole currently assumes that the width and stride of the framebuffer
are the same, in most places where stride matters it uses a VIDEO_LINE_LEN
helper macro.

This commit changes the few places not using VIDEO_LINE_LEN to also use
VIDEO_LINE_LEN, and protects the default VIDEO_LINE_LEN with a #ifndef
guard, allowing the boards config.h to override and, and thus support
cases where stride != width.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Anatolij Gustschin <agust@denx.de>